Compartilhar via


RegisterLanguageExtensionAttribute Constructor (String, String)

Initializes a new instance of RegisterLanguageExtensionAttribute.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    languageServiceGuid As String, _
    extension As String _
)
public RegisterLanguageExtensionAttribute(
    string languageServiceGuid,
    string extension
)
public:
RegisterLanguageExtensionAttribute(
    String^ languageServiceGuid, 
    String^ extension
)
new : 
        languageServiceGuid:string * 
        extension:string -> RegisterLanguageExtensionAttribute
public function RegisterLanguageExtensionAttribute(
    languageServiceGuid : String, 
    extension : String
)

Parameters

  • languageServiceGuid
    Type: String

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

  • extension
    Type: String

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

.NET Framework Security

See Also

Reference

RegisterLanguageExtensionAttribute Class

RegisterLanguageExtensionAttribute Overload

Microsoft.VisualStudio.Shell Namespace