다음을 통해 공유


RegisterLanguageExtensionAttribute Constructor (Type, String)

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

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

Syntax

‘선언
Public Sub New ( _
    languageService As Type, _
    extension As String _
)
public RegisterLanguageExtensionAttribute(
    Type languageService,
    string extension
)

Parameters

  • extension
    Type: System.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