編輯

共用方式為


MetadataViewImplementationAttribute(Type) Constructor

Definition

Initializes a new instance of the MetadataViewImplementationAttribute class.

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

Parameters

implementationType
Type

The type of the metadata view.

Remarks

By default, MetadataViews are generated using reflection emit. This attribute allows the developer to specify the type that implements the view rather than using a generated type.

Applies to