ProvideDesignerMetadataAttribute Constructor (Type^, Type^)
Visual Studio 2015
Initializes a new instance of ProvideDesignerMetadataAttribute, associating a new metadata Type with the current Type.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Parameters
- runtimeType
-
Type:
System::Type^
The Type whose metadata will be updated.
- metadataType
-
Type:
System::Type^
The Type containing the metadata to be added to an existing type.
The scope of the metadata modifications provided by ProvideDesignerMetadataAttribute depends on the value of the instance's IsGlobal property. It can be
Global -- for all new instances of runtimeType
Local -- pertaining only to instances of the runtimeType created on a design surface provided by the current VSPackage.
Show: