Share via


ProvideOptionDialogPageAttribute Třída

Definice

Základní třída pro všechny atributy, které se používají k registraci stránky možností.

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
Dědičnost
ProvideOptionDialogPageAttribute
Odvozené
Atributy

Konstruktory

ProvideOptionDialogPageAttribute(Type, String)

Inicializuje novou instanci ProvideOptionDialogPageAttribute pro zadanou stránku.

Vlastnosti

PageNameResourceId

Získá název ID prostředku stránky.

PageType

Získá typ stránky.

TypeId

Přepište vlastnost TypeID, aby odvozené třídy RegistrationAttribute fungovaly se System.ComponentModel.TypeDescriptor.GetAttributes(...). Atribut odvozený z tohoto atributu bude muset přepsat tuto vlastnost pouze v případě, že potřebuje lepší kontrolu nad instancemi, které lze použít na třídu.

(Zděděno od RegistrationAttribute)

Metody

GetPackageRegKeyPath(Guid)

Získá cestu registru (vzhledem ke kořenovému adresáři registru aplikace) VSPackage.

(Zděděno od RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Zaregistruje tento balíček VSPackage s daným kontextem, pokud je volána externím registračním nástrojem, jako je například regpkg.exe. Další informace najdete v tématu Registrace balíčků VSPackage.

(Zděděno od RegistrationAttribute)
Unregister(RegistrationAttribute+RegistrationContext)

Volána pro zrušení registrace tohoto atributu s daným kontextem.

(Zděděno od RegistrationAttribute)

Platí pro