Share via


ProvideIncludeFolderAttribute 類別

定義

重要

此 API 不符合 CLS 規範。

提供 T4 登錄項目的屬性類別。VSHost 包含資料夾。

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

建構函式

ProvideIncludeFolderAttribute(String, Int32, String)

建構函式

欄位

IncludeFoldersKeyName

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

TextTemplatingKeyName

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

屬性

Extension

要套用此包含資料夾的範本檔案擴展名。

Folder

要註冊之包含資料夾的路徑。 此路徑相對於所註冊元件的元件路徑。

Index

資料夾以零起始的索引

TypeId

覆寫 TypeID 屬性,讓 RegistrationAttribute 衍生類別搭配 System.ComponentModel.TypeDescriptor.GetAttributes (...) 。衍生自這個屬性的屬性只有在需要對可套用至類別的實例有更好的控制權時,才必須覆寫此屬性。

(繼承來源 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

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

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

註冊文字範本化 Include 資料夾

Unregister(RegistrationAttribute+RegistrationContext)

取消註冊文字範本化 Include 資料夾

適用於