VsTargetFrameworkProvider.GetTypeDescriptor Method (Type, Object)
Gets the type descriptor for the specified object and type.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Overrides Function GetTypeDescriptor ( _
objectType As Type, _
instance As Object _
) As ICustomTypeDescriptor
public override ICustomTypeDescriptor GetTypeDescriptor(
Type objectType,
Object instance
)
public:
virtual ICustomTypeDescriptor^ GetTypeDescriptor(
Type^ objectType,
Object^ instance
) override
abstract GetTypeDescriptor :
objectType:Type *
instance:Object -> ICustomTypeDescriptor
override GetTypeDescriptor :
objectType:Type *
instance:Object -> ICustomTypeDescriptor
public override function GetTypeDescriptor(
objectType : Type,
instance : Object
) : ICustomTypeDescriptor
Parameters
objectType
Type: TypeThe type.
instance
Type: ObjectThe object.
Return Value
Type: ICustomTypeDescriptor
The type descriptor.
.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.