ProvideDesignerOptionsAttribute Class
Visual Studio 2005
Associates one or more categories with each designer in the registry.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in microsoft.visualstudio.shell.design.dll)
Assembly: Microsoft.VisualStudio.Shell.Design (in microsoft.visualstudio.shell.design.dll)
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true)] public sealed class ProvideDesignerOptionsAttribute : RegistrationAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true) */ public final class ProvideDesignerOptionsAttribute extends RegistrationAttribute
AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true) public final class ProvideDesignerOptionsAttribute extends RegistrationAttribute
For packages that implement designers, this associates the designer with one or more categories. When applied to a VSPackage that implements a designer like this:
Using MSVSIP = Microsoft.VisualStudio.Shell;
[ProvideDesignerOptionsAttribute("categoryA")]
[ProvideDesignerOptionsAttribute("categoryB")]
public sealed class MyVSPackage : MSVSIP.Package
{
// Class body omitted.
}
The resulting registry entries for designer categories include:
Designers\\Options\categoryA Designers\\Options\\ categoryB
System.Object
System.Attribute
Microsoft.VisualStudio.Shell.RegistrationAttribute
Microsoft.VisualStudio.Shell.Design.ProvideDesignerOptionsAttribute
System.Attribute
Microsoft.VisualStudio.Shell.RegistrationAttribute
Microsoft.VisualStudio.Shell.Design.ProvideDesignerOptionsAttribute