WAProvideLanguagePropertyAttribute 类

定义

用于为项目注册 Web 应用程序属性。

public ref class WAProvideLanguagePropertyAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class WAProvideLanguagePropertyAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class WAProvideLanguagePropertyAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type WAProvideLanguagePropertyAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class WAProvideLanguagePropertyAttribute
Inherits RegistrationAttribute
继承
WAProvideLanguagePropertyAttribute
属性

构造函数

WAProvideLanguagePropertyAttribute(Type, String, Boolean)

初始化 WAProvideLanguagePropertyAttribute 的新实例。

WAProvideLanguagePropertyAttribute(Type, String, Int32)

初始化 WAProvideLanguagePropertyAttribute 的新实例。

WAProvideLanguagePropertyAttribute(Type, String, String)

初始化 WAProvideLanguagePropertyAttribute 的新实例。

WAProvideLanguagePropertyAttribute(Type, String, Type)

初始化 WAProvideLanguagePropertyAttribute 的新实例。

属性

LanguageTemplateFactoryType

获取语言模板工厂的类型。

PropertyName

获取属性的名称。

PropertyValueInt

获取属性的整数值。

PropertyValueString

获取属性的字符串值。

TypeId

获取此属性的当前实例。

(继承自 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

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

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

注册语言属性。

Unregister(RegistrationAttribute+RegistrationContext)

注销 language 属性。

适用于