共用方式為


RegisterLanguageExtensionAttribute Constructor (String, String)

Initializes a new instance of RegisterLanguageExtensionAttribute.

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

Syntax

'宣告
Public Sub New ( _
    languageServiceGuid As String, _
    extension As String _
)
public RegisterLanguageExtensionAttribute(
    string languageServiceGuid,
    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