DocData.SaveSubordinateFile 方法
儲存指定文件屬於這份文件,例如 「 圖表檔案。
命名空間: Microsoft.VisualStudio.Modeling.Shell
組件: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)
語法
'宣告
Protected Friend Overridable Sub SaveSubordinateFile ( _
subordinateDocument As DocData, _
fileName As String _
)
protected internal virtual void SaveSubordinateFile(
DocData subordinateDocument,
string fileName
)
參數
- subordinateDocument
型別:Microsoft.VisualStudio.Modeling.Shell.DocData
從屬的檔案。
- fileName
型別:System.String
附屬檔檔名。
備註
此文件所含的任何從屬的檔案,其通常會維護的資料 (例如圖表檔) 則它必須先儲存該檔案在這裡,做為資料次級被明確地要求儲存本身。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。