共用方式為


DocData.GetGuidEditorType 方法

取得編輯器處理站所建立的 GUID IVsPersistDocData物件。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

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

參數

傳回值

型別:System.Int32
S_OK如果此方法成功。 否則,它會傳回錯誤碼。

實作

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

備註

編輯器工廠 GUID 實作GetGuidEditorType

.NET Framework 安全性

請參閱

參考

DocData 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間