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
)
參數
- editor
型別:System.Guid%
建立編輯器工廠的 GUID IVsPersistDocData物件。
傳回值
型別:System.Int32
S_OK如果此方法成功。 否則,它會傳回錯誤碼。
實作
IVsPersistDocData2.GetGuidEditorType(Guid%)
IVsPersistDocData.GetGuidEditorType(Guid%)
備註
編輯器工廠 GUID 實作GetGuidEditorType。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。