RegisterLanguageExtensionAttribute Constructors

Definition

Overloads

RegisterLanguageExtensionAttribute(String, String)

Initializes a new instance of RegisterLanguageExtensionAttribute.

RegisterLanguageExtensionAttribute(Type, String)

Initializes a new instance of RegisterLanguageExtensionAttribute and initializes the values of the language service and file extension that it associates.

RegisterLanguageExtensionAttribute(String, String)

Initializes a new instance of RegisterLanguageExtensionAttribute.

public:
 RegisterLanguageExtensionAttribute(System::String ^ languageServiceGuid, System::String ^ extension);
public:
 RegisterLanguageExtensionAttribute(Platform::String ^ languageServiceGuid, Platform::String ^ extension);
 RegisterLanguageExtensionAttribute(std::wstring const & languageServiceGuid, std::wstring const & extension);
public RegisterLanguageExtensionAttribute (string languageServiceGuid, string extension);
new Microsoft.VisualStudio.Shell.RegisterLanguageExtensionAttribute : string * string -> Microsoft.VisualStudio.Shell.RegisterLanguageExtensionAttribute
Public Sub New (languageServiceGuid As String, extension As String)

Parameters

languageServiceGuid
String

The GUID of language service class that is derived from LanguageService as a string.

extension
String

The file extension associated with the language service. Include a "." in the value of extension.

Applies to

RegisterLanguageExtensionAttribute(Type, String)

Initializes a new instance of RegisterLanguageExtensionAttribute and initializes the values of the language service and file extension that it associates.

public:
 RegisterLanguageExtensionAttribute(Type ^ languageService, System::String ^ extension);
public:
 RegisterLanguageExtensionAttribute(Platform::Type ^ languageService, Platform::String ^ extension);
public RegisterLanguageExtensionAttribute (Type languageService, string extension);
new Microsoft.VisualStudio.Shell.RegisterLanguageExtensionAttribute : Type * string -> Microsoft.VisualStudio.Shell.RegisterLanguageExtensionAttribute
Public Sub New (languageService As Type, extension As String)

Parameters

languageService
Type

The GUID of language service class that is derived from LanguageService as a string.

extension
String

The file extension associated with the language service. Include a "." in the value of extension.

Applies to