DocData.GetGuidEditorType Method

Gets the GUID of the editor factory that created the IVsPersistDocData object.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Public Function GetGuidEditorType ( _
    <OutAttribute> ByRef editor As Guid _
) As Integer
'使用
Dim instance As DocData
Dim editor As Guid
Dim returnValue As Integer

returnValue = instance.GetGuidEditorType(editor)
public int GetGuidEditorType(
    out Guid editor
)
public:
virtual int GetGuidEditorType(
    [OutAttribute] Guid% editor
) sealed
public final function GetGuidEditorType(
    editor : Guid
) : int

Parameters

Return Value

Type: System.Int32

S_OK if the method succeeds; otherwise, it returns an error code.

Implements

IVsPersistDocData2.GetGuidEditorType(Guid%)
IVsPersistDocData.GetGuidEditorType(Guid%)

Remarks

The editor factory GUID implements GetGuidEditorType.

Permissions

See Also

Reference

DocData Class

DocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace