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

型別的執行個體。

傳回

為該型別提供中繼資料的描述項。

適用於