gETs the language service GUID.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Overridable Function GetLanguageServiceGuid As Guid
'使用
Dim instance As EditorFactory
Dim returnValue As Guid
returnValue = instance.GetLanguageServiceGuid()
public virtual Guid GetLanguageServiceGuid()
public:
virtual Guid GetLanguageServiceGuid()
public function GetLanguageServiceGuid() : Guid
Return Value
Type: System.Guid
This method returns the language service GUID. The base method returns an empty GUID.
Remarks
Override this method if you registered the file extension "*".
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.