ProvideIncludeFolderAttribute 类

定义

重要

此 API 不符合 CLS。

用于为 T4 提供注册表项的属性类。Vshost.exe 包含文件夹。

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)>]
[<System.CLSCompliant(false)>]
type ProvideIncludeFolderAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideIncludeFolderAttribute
Inherits RegistrationAttribute
继承
ProvideIncludeFolderAttribute
属性

构造函数

ProvideIncludeFolderAttribute(String, Int32, String)

构造函数

字段

IncludeFoldersKeyName

指令处理器的特定注册表项的名称

TextTemplatingKeyName

文本模板化的根注册表项的名称

属性

Extension

应用此包含文件夹的模板文件扩展。

Folder

要注册的包含文件夹的路径。 此路径是相对于正在注册的程序集的组件路径的路径。

Index

文件夹的从零开始的索引。

TypeId

获取此属性的当前实例。

(继承自 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

获取与 VSPackage 的应用程序) 的注册表根相关的注册表路径 (。

(继承自 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

注册文本模板化包含文件夹

Unregister(RegistrationAttribute+RegistrationContext)

注销文本模板化包含文件夹

适用于