WAProvideLanguagePropertyAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于为项目注册 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(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 属性。 |