Share via


ProvideDesignerOptionsAttribute Class

Definition

Associates one or more categories with each designer in the registry.

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

Constructors

ProvideDesignerOptionsAttribute(String)

Initializes a new instance of ProvideDesignerOptionsAttribute with the specified category name.

Properties

CategoryName

Gets the programmatic, nonlocalized name for this category.

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 options.

Unregister(RegistrationAttribute+RegistrationContext)

Removes this attribute from the registry using the specified registry context.

Applies to