ProvideDesignerMetadataAttribute Class

Definition

Declares additional metadata for types or objects, allowing third parties to modify the set of metadata available on a class.

public ref class ProvideDesignerMetadataAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideDesignerMetadataAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideDesignerMetadataAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideDesignerMetadataAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideDesignerMetadataAttribute
Inherits RegistrationAttribute
Inheritance
ProvideDesignerMetadataAttribute
Attributes

Constructors

ProvideDesignerMetadataAttribute(Type, Type)

Initializes a new instance of ProvideDesignerMetadataAttribute, associating a new metadata Type with the current Type.

Properties

IsGlobal

Gets or sets the scope of the metadata modifications provided by an instance ProvideDesignerMetadataAttribute

MetadataType

Gets the type of the metadata.

RuntimeType

Gets the runtime type.

TypeId

Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Registers the designer metadata.

Unregister(RegistrationAttribute+RegistrationContext)

Removes the designer metadata registry key.

Applies to