EditorFactory.GetLanguageServiceGuid Method
gETs the language service GUID.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'Declaration
Public Overridable Function GetLanguageServiceGuid As Guid
public virtual Guid GetLanguageServiceGuid()
public:
virtual Guid GetLanguageServiceGuid()
abstract GetLanguageServiceGuid : unit -> Guid
override GetLanguageServiceGuid : unit -> Guid
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 "*".
.NET Framework Security
- 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.