다음을 통해 공유


ComponentPickerPropertyPageAttribute 클래스

정의

이 특성은 구성 요소 선택기 속성 페이지 등록을 추가합니다. 예: [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"=".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
상속
ComponentPickerPropertyPageAttribute
특성

설명

예를 들면 다음과 같습니다.

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

생성자

ComponentPickerPropertyPageAttribute(Type, Type, String)

새 ComponentPicker 페이지 등록 특성을 만들어 사용자 지정 구성 요소 선택기 속성 페이지를 등록합니다.

속성

AddToMru

AddToMru 값 가져오기 또는 설정

ComponentType

구성 요소 형식 값을 얻거나 설정합니다.

DefaultPageNameValue

기본 페이지 이름 값 가져오기/설정

PacakgeGuid

pacakge Guid 가져오기

PageGuid

속성 페이지를 나타내는 Guid 가져오기

PageRegKeyName

속성 페이지 reg 키 이름을 가져옵니다.

SortOrder

정렬 reg 값 가져오기 또는 설정

TypeId

RegistrationAttribute 파생 클래스가 System.ComponentModel.TypeDescriptor.GetAttributes(...)에서 작동하도록 하려면 TypeID 속성을 재정의합니다. 이 속성에서 파생된 특성은 클래스에 적용할 수 있는 인스턴스에 대한 더 나은 제어가 필요한 경우에만 이 속성을 재정의해야 합니다.

(다음에서 상속됨 RegistrationAttribute)

메서드

GetPackageRegKeyPath(Guid)

VSPackage의 레지스트리 경로(애플리케이션의 레지스트리 루트를 기준으로)를 가져옵니다.

(다음에서 상속됨 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

지정된 컨텍스트에 이 특성을 등록하기 위해 호출됩니다. 컨텍스트에는 등록 정보를 배치할 위치가 포함됩니다. 또한 등록되는 형식 및 경로 정보와 같은 다른 정보도 포함합니다.

Unregister(RegistrationAttribute+RegistrationContext)

속성 등록 취소 페이지

적용 대상