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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Public Function GetGuidEditorType ( _
    <OutAttribute> ByRef editor As Guid _
) As Integer
public int GetGuidEditorType(
    out Guid editor
)
public:
virtual int GetGuidEditorType(
    [OutAttribute] Guid% editor
) sealed
abstract GetGuidEditorType : 
        editor:Guid byref -> int  
override GetGuidEditorType : 
        editor:Guid byref -> int
public final function GetGuidEditorType(
    editor : Guid
) : int

Parameters

  • editor
    Type: Guid%

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

Return Value

Type: 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.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace