共用方式為


EditorFactory.EditorInfo.Guid Property

Gets or sets the GUID of the editor.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Property Guid As Guid
public Guid Guid { get; set; }
public:
property Guid Guid {
    Guid get ();
    void set (Guid value);
}
member Guid : Guid with get, set
function get Guid () : Guid 
function set Guid (value : Guid)

Property Value

Type: Guid
The GUID of the editor.

.NET Framework Security

See Also

Reference

EditorFactory.EditorInfo Class

Microsoft.VisualStudio.Package Namespace