Gets the editor factory GUID.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public ReadOnly Property Factory As Guid
'使用
Dim instance As RegisterEditorExtensionAttribute
Dim value As Guid
value = instance.Factory
public Guid Factory { get; }
public:
property Guid Factory {
Guid get ();
}
public function get Factory () : Guid
Property Value
Type: System.Guid
The GUID of the editor factory.
Remarks
The GUID value is obtained either by converting the factoryGuid string parameter to a Guid, or by accessing the GUID property on the factory type.
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.
See Also
Reference
RegisterEditorExtensionAttribute Class