Share via


ProvideOptionDialogPageAttribute Class

Definition

The base class for all the attributes that are used to register an option page.

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

Constructors

ProvideOptionDialogPageAttribute(Type, String)

Initializes a new instance of ProvideOptionDialogPageAttribute for the specified page.

Properties

PageNameResourceId

Gets the name resource ID of the page.

PageType

Gets the type of the page.

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 this VSPackage with a given context, when called by an external registration tool such as regpkg.exe. For more information, see Registering VSPackages.

(Inherited from RegistrationAttribute)
Unregister(RegistrationAttribute+RegistrationContext)

Called to unregister this attribute with the given context.

(Inherited from RegistrationAttribute)

Applies to