Share via


WAProvideLanguagePropertyAttribute Třída

Definice

Tuto třídu lze použít k registraci vlastnosti webové aplikace pro projekt.

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
Dědičnost
WAProvideLanguagePropertyAttribute
Atributy

Konstruktory

WAProvideLanguagePropertyAttribute(Type, String, Boolean)

Inicializuje novou instanci WAProvideLanguagePropertyAttribute.

WAProvideLanguagePropertyAttribute(Type, String, Int32)

Inicializuje novou instanci WAProvideLanguagePropertyAttribute.

WAProvideLanguagePropertyAttribute(Type, String, String)

Inicializuje novou instanci WAProvideLanguagePropertyAttribute.

WAProvideLanguagePropertyAttribute(Type, String, Type)

Inicializuje novou instanci WAProvideLanguagePropertyAttribute.

Vlastnosti

LanguageTemplateFactoryType

Získá typ objektu pro vytváření šablon jazyka.

PropertyName

Získá název vlastnosti.

PropertyValueInt

Získá celočíselnou hodnotu vlastnosti.

PropertyValueString

Získá řetězcovou hodnotu vlastnosti .

TypeId

Přepište vlastnost TypeID, aby odvozené třídy RegistrationAttribute fungovaly se System.ComponentModel.TypeDescriptor.GetAttributes(...). Atribut odvozený z tohoto atributu bude muset přepsat tuto vlastnost pouze v případě, že potřebuje lepší kontrolu nad instancemi, které lze použít na třídu.

(Zděděno od RegistrationAttribute)

Metody

GetPackageRegKeyPath(Guid)

Získá cestu registru (vzhledem ke kořenovému adresáři registru aplikace) VSPackage.

(Zděděno od RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Zaregistruje vlastnost jazyka.

Unregister(RegistrationAttribute+RegistrationContext)

Zruší registraci vlastnosti jazyka.

Platí pro