Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets a custom type descriptor for the given type and object.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Overrides NotOverridable Function GetTypeDescriptor ( _
objectType As Type, _
instance As Object _
) As ICustomTypeDescriptor
public override sealed ICustomTypeDescriptor GetTypeDescriptor(
Type objectType,
Object instance
)
public:
virtual ICustomTypeDescriptor^ GetTypeDescriptor(
Type^ objectType,
Object^ instance
) override sealed
abstract GetTypeDescriptor :
objectType:Type *
instance:Object -> ICustomTypeDescriptor
override GetTypeDescriptor :
objectType:Type *
instance:Object -> ICustomTypeDescriptor
public override final function GetTypeDescriptor(
objectType : Type,
instance : Object
) : ICustomTypeDescriptor
Parameters
- objectType
Type: System.Type
The type of the object for which to retrieve the type descriptor.
- instance
Type: System.Object
The object for which to retrieve the type descriptor.
Return Value
Type: System.ComponentModel.ICustomTypeDescriptor
A custom type descriptor for the given type and object.
Remarks
If instance is nulla null reference (Nothing in Visual Basic), then this method gets a custom type descriptor for the objectType.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.