Freigeben über


DocData.GetGuidEditorType-Methode

Ruft die GUID der Editorfactory ab, die das IVsPersistDocData-Objekt erstellt hat.

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

Syntax

'Declaration
Public Function GetGuidEditorType ( _
    <OutAttribute> ByRef editor As Guid _
) As Integer
public int GetGuidEditorType(
    out Guid editor
)

Parameter

Rückgabewert

Typ: System.Int32
S_OK, wenn die Methode erfolgreich ausgeführt wird, andernfalls wird ein Fehlercode zurückgegeben.

Implementiert

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

Hinweise

Die Editorfactory GUID implementiert GetGuidEditorType.

.NET Framework-Sicherheit

Siehe auch

Referenz

DocData Klasse

Microsoft.VisualStudio.Modeling.Shell-Namespace