ProvideEditorExtensionAttribute.Factory Property
Returns the GUID of the associated factory.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public ReadOnly Property Factory As Guid
public Guid Factory { get; }
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.
The value of Factory is set in the constructor ProvideEditorExtensionAttribute.
.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.