ProvideDesignerOptionsAttribute Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přidruží jednu nebo více kategorií ke každému návrháři v registru.
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
- Dědičnost
- Atributy
Konstruktory
| ProvideDesignerOptionsAttribute(String) |
Inicializuje novou instanci ProvideDesignerOptionsAttribute se zadaným názvem kategorie. |
Vlastnosti
| CategoryName |
Získá programový, nelokalizovaný název pro tuto kategorii. |
| 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 možnosti návrháře. |
| Unregister(RegistrationAttribute+RegistrationContext) |
Odebere tento atribut z registru pomocí zadaného kontextu registru. |