Share via


ProvideDirectiveProcessorAttribute 類別

定義

重要

此 API 不符合 CLS 規範。

屬性類別,提供 T4 的登錄專案。VSHost 指示詞處理器

public ref class ProvideDirectiveProcessorAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideDirectiveProcessorAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
[System.CLSCompliant(false)]
public sealed class ProvideDirectiveProcessorAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class ProvideDirectiveProcessorAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
[<System.CLSCompliant(false)>]
type ProvideDirectiveProcessorAttribute = class
    inherit RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ProvideDirectiveProcessorAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideDirectiveProcessorAttribute
Inherits RegistrationAttribute
繼承
ProvideDirectiveProcessorAttribute
屬性

建構函式

ProvideDirectiveProcessorAttribute(Type, String, String)

建構函式

欄位

DirectiveProcessorsKeyName

指示詞處理器的特定登錄機碼名稱

TextTemplatingKeyName

文字範本化的根登錄機碼名稱

屬性

Description

指示詞處理器的人類描述

Name

指示詞處理器的名稱

Type

實作指示詞處理器的類型

TypeId

覆寫 TypeID 屬性,讓 RegistrationAttribute 衍生類別使用 System.ComponentModel.TypeDescriptor.GetAttributes (...) 。衍生自這個屬性的屬性必須覆寫此屬性,只有在實例上需要更好的控件,才能套用至類別。

(繼承來源 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

取得相對於 VSPackage 應用程式) 之登錄根目錄的登錄路徑 (。

(繼承來源 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

註冊文字範本化指示詞處理器

Unregister(RegistrationAttribute+RegistrationContext)

取消註冊文字範本化指示詞處理器

適用於