Share via


ComponentPickerPropertyPageAttribute Class

Definition

This attribute adds the property page registration for Component picker For Example: [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"

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
Inheritance
ComponentPickerPropertyPageAttribute
Attributes

Remarks

For example:

[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"

Constructors

ComponentPickerPropertyPageAttribute(Type, Type, String)

Creates a new ComponentPicker page registration attribute to register a custom component picker property page.

Properties

AddToMru

Get or Set the AddToMru value

ComponentType

Get or set the Component Type value.

DefaultPageNameValue

get / sets default page name value

PacakgeGuid

Get the pacakge Guid

PageGuid

Get the Guid representing the property page

PageRegKeyName

Get the property page reg key name.

SortOrder

Get or Set the Sort reg value

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)

Called to register this attribute with the given context. The context contains the location where the registration information should be placed. It also contains other information such as the type being registered and path information.

Unregister(RegistrationAttribute+RegistrationContext)

Unregister property page

Applies to