다음을 통해 공유


ProvideEditorExtensionAttribute.Factory Property

Returns the GUID of the associated factory.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

‘선언
Public ReadOnly Property Factory As Guid
    Get
‘사용 방법
Dim instance As ProvideEditorExtensionAttribute
Dim value As Guid

value = instance.Factory
public Guid Factory { get; }
public:
property Guid Factory {
    Guid get ();
}
member Factory : Guid
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.

The value of Factory is set in the constructor ProvideEditorExtensionAttribute.

.NET Framework Security

See Also

Reference

ProvideEditorExtensionAttribute Class

ProvideEditorExtensionAttribute Members

Microsoft.VisualStudio.Shell Namespace