Share via


WAProvideLanguagePropertyAttribute Class

Definition

This class can be used for registering a Web Application Property for a project

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
Inheritance
WAProvideLanguagePropertyAttribute
Attributes

Constructors

WAProvideLanguagePropertyAttribute(Type, String, Boolean)

Initializes a new instance of WAProvideLanguagePropertyAttribute.

WAProvideLanguagePropertyAttribute(Type, String, Int32)

Initializes a new instance of WAProvideLanguagePropertyAttribute.

WAProvideLanguagePropertyAttribute(Type, String, String)

Initializes a new instance of WAProvideLanguagePropertyAttribute.

WAProvideLanguagePropertyAttribute(Type, String, Type)

Initializes a new instance of WAProvideLanguagePropertyAttribute.

Properties

LanguageTemplateFactoryType

Gets the type of the language template factory.

PropertyName

Gets the name of the property.

PropertyValueInt

Gets the integer value of the property.

PropertyValueString

Gets the string value of the property.

TypeId

Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Registers the language property.

Unregister(RegistrationAttribute+RegistrationContext)

Unregisters the language property.

Applies to