ProvideExtensibleUIContextRuleAttribute 클래스

정의

이 특성은 UI 컨텍스트 규칙을 등록합니다.

public ref class ProvideExtensibleUIContextRuleAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideExtensibleUIContextRuleAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideExtensibleUIContextRuleAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideExtensibleUIContextRuleAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideExtensibleUIContextRuleAttribute
Inherits RegistrationAttribute
상속
ProvideExtensibleUIContextRuleAttribute
특성

생성자

ProvideExtensibleUIContextRuleAttribute(String, String, UInt32)

다른 확장에서 추가한 용어가 true일 때 활성화되는 확장 가능한 규칙 기반 UI 컨텍스트 항목을 만듭니다.

extender는 동일한 GUID를 사용하여 식이 "*"로 설정된 새 UI 컨텍스트 규칙을 만들어 이 특성에서 만든 규칙을 확장합니다.

속성

ContextGuid

만들 UI 컨텍스트에 대한 컨텍스트 Guid

Delay

UI 컨텍스트를 활성화하기 전에 적용할 ms 지연

Name

만든 UI 컨텍스트에 대한 진단 이름

TypeId

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

(다음에서 상속됨 RegistrationAttribute)

메서드

GetPackageRegKeyPath(Guid)

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

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

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

Unregister(RegistrationAttribute+RegistrationContext)

이 AutoLoad 사양을 등록 취소합니다.

적용 대상