WAProvideLanguagePropertyAttribute Класс

Определение

Этот класс можно использовать для регистрации свойства веб-приложения для проекта.

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

Переопределите свойство TypeID, чтобы разрешить производным классам RegistrationAttribute работать с System.ComponentModel.TypeDescriptor.GetAttributes(...). Атрибут, производный от этого , должен переопределять это свойство только в том случае, если ему требуется более качественный контроль над экземплярами, которые можно применить к классу.

(Унаследовано от RegistrationAttribute)

Методы

GetPackageRegKeyPath(Guid)

Получает путь в реестре (относительно корня реестра приложения) VSPackage.

(Унаследовано от RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Регистрирует свойство language.

Unregister(RegistrationAttribute+RegistrationContext)

Отменяет регистрацию свойства языка.

Применяется к