共用方式為


VsTargetFrameworkProvider.GetTypeDescriptor(Type, Object) Method

Definition

Gets the type descriptor for the specified object and type.

public:
 override System::ComponentModel::ICustomTypeDescriptor ^ GetTypeDescriptor(Type ^ objectType, System::Object ^ instance);
public override System.ComponentModel.ICustomTypeDescriptor GetTypeDescriptor (Type objectType, object instance);
override this.GetTypeDescriptor : Type * obj -> System.ComponentModel.ICustomTypeDescriptor
Public Overrides Function GetTypeDescriptor (objectType As Type, instance As Object) As ICustomTypeDescriptor

Parameters

objectType
Type

The type.

instance
Object

The object.

Returns

The type descriptor.

Applies to