語言

AssociatedMetadataTypeTypeDescriptionProvider.GetTypeDescriptor 方法

定義

會取得指定類型和物件的型別描述符。

public:
 override System::ComponentModel::ICustomTypeDescriptor ^ GetTypeDescriptor(Type ^ objectType, System::Object ^ instance);
public override System.ComponentModel.ICustomTypeDescriptor GetTypeDescriptor(Type objectType, 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

參數

objectType
Type

要取得該類型描述符的物件類型。

instance
Object

這類的實例。

傳回

提供該型別元資料的描述符。

適用於