Share via


ComponentPickerPropertyPageAttribute Třída

Definice

Tento atribut přidá registraci stránky vlastností pro výběr komponenty: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0Exp\ComponentPickerPages\My Component Page] @="#13925" "Package"="{B0002DC2-56EE-4931-93F7-70D6E9863940}" "Page"="{10A9F3920-3881-4f50-8986-9EDEC7B33566}" "Sort"=dword:00000014 "AddToMru"=dword:00000000 "ComponentType"="Sestavení .Net"

public ref class ComponentPickerPropertyPageAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ComponentPickerPropertyPageAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ComponentPickerPropertyPageAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ComponentPickerPropertyPageAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ComponentPickerPropertyPageAttribute
Inherits RegistrationAttribute
Dědičnost
ComponentPickerPropertyPageAttribute
Atributy

Poznámky

Příklad:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0Exp\ComponentPickerPages\My Component Page]

@="#13925"

"Package"="{B0002DC2-56EE-4931-93F7-70D6E9863940}"

"Page"="{0A9F3920-3881-4f50-8986-9EDEC7B33566}"

"Sort"=dword:00000014

"AddToMru"=dword:000000000

"ComponentType"="Sestavení.NET"

Konstruktory

ComponentPickerPropertyPageAttribute(Type, Type, String)

Vytvoří nový atribut registrace stránky ComponentPicker, který zaregistruje stránku vlastností vlastního výběru komponenty.

Vlastnosti

AddToMru

Získání nebo nastavení hodnoty AddToMru

ComponentType

Získejte nebo nastavte hodnotu Typ komponenty.

DefaultPageNameValue

get / sets default page name value

PacakgeGuid

Získání identifikátoru GUID pacakge

PageGuid

Získání identifikátoru GUID představujícího stránku vlastnosti

PageRegKeyName

Získejte název klíče registru stránky vlastností.

SortOrder

Získání nebo nastavení hodnoty sort reg

TypeId

Přepište vlastnost TypeID, aby mohly odvozené třídy RegistrationAttribute pracovat s System.ComponentModel.TypeDescriptor.GetAttributes(...). Atribut odvozený z tohoto 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 k kořenovému adresáři registru aplikace) VSPackage.

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

Volá se pro registraci tohoto atributu v daném kontextu. Kontext obsahuje umístění, kam se mají umístit informace o registraci. Obsahuje také další informace, jako je zaregistrovaný typ a informace o cestě.

Unregister(RegistrationAttribute+RegistrationContext)

Zrušit registraci stránky vlastností

Platí pro