MetadataViewImplementationAttribute(Type) 建構函式

定義

初始化 MetadataViewImplementationAttribute 類別的新執行個體。

public:
 MetadataViewImplementationAttribute(Type ^ implementationType);
public MetadataViewImplementationAttribute(Type implementationType);
new System.ComponentModel.Composition.MetadataViewImplementationAttribute : Type -> System.ComponentModel.Composition.MetadataViewImplementationAttribute
Public Sub New (implementationType As Type)

參數

implementationType
Type

元資料檢視的類型。

備註

預設情況下,MetadataViews 是透過反射發射產生的。 此屬性允許開發者指定實作視圖的型別,而非使用產生型別。

適用於