Compartilhar via


ComponentPickerPropertyPageAttribute Classe

Definição

Esse atributo adiciona o registro da página de propriedades para o seletor de componentes Por exemplo: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0Exp\ComponentPickerPages\My Component Page] @="#13925" "Package"="{B0002DC2-56EE-4931-93F7-70D6E9863940}" "Page"="{70D6E9863940}" "Page"="{700A9F3920-3881-4f50-8986-9EDEC7B33566}" "Sort"=dword:00000014 "AddToMru"=dword:000000000 "ComponentType"=".Net Assembly"

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
Herança
ComponentPickerPropertyPageAttribute
Atributos

Comentários

Por exemplo:

[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:00000000

"ComponentType"=".NET Assembly"

Construtores

ComponentPickerPropertyPageAttribute(Type, Type, String)

Cria um novo atributo de registro de página ComponentPicker para registrar uma página de propriedade do seletor de componentes personalizado.

Propriedades

AddToMru

Obter ou Definir o valor AddToMru

ComponentType

Obtenha ou defina o valor tipo de componente.

DefaultPageNameValue

get/define o valor do nome da página padrão

PacakgeGuid

Obter o guid pacakge

PageGuid

Obter o Guid que representa a página de propriedades

PageRegKeyName

Obtenha o nome da chave reg da página de propriedades.

SortOrder

Obter ou definir o valor de reg de classificação

TypeId

Substitua a propriedade TypeID para permitir que as classes derivadas de RegistrationAttribute funcionem com System.ComponentModel.TypeDescriptor.GetAttributes(...). Um atributo derivado deste terá que substituir essa propriedade somente se precisar de um controle melhor sobre as instâncias que podem ser aplicadas a uma classe.

(Herdado de RegistrationAttribute)

Métodos

GetPackageRegKeyPath(Guid)

Obtém o caminho do Registro (em relação à raiz do registro do aplicativo) do VSPackage.

(Herdado de RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Chamado para registrar esse atributo com o contexto determinado. O contexto contém o local onde as informações de registro devem ser colocadas. Ele também contém outras informações, como o tipo que está sendo registrado e informações de caminho.

Unregister(RegistrationAttribute+RegistrationContext)

Página de propriedades cancelar o registro

Aplica-se a