Graph.Save 方法 (XmlWriter, GraphSerializationSettings)
將圖形儲存為具有指定之設定的 XmlWriter。
命名空間: Microsoft.VisualStudio.GraphModel
組件: Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)
語法
'宣告
Public Sub Save ( _
writer As XmlWriter, _
settings As GraphSerializationSettings _
)
public void Save(
XmlWriter writer,
GraphSerializationSettings settings
)
public:
void Save(
XmlWriter^ writer,
GraphSerializationSettings^ settings
)
member Save :
writer:XmlWriter *
settings:GraphSerializationSettings -> unit
public function Save(
writer : XmlWriter,
settings : GraphSerializationSettings
)
參數
- writer
型別:System.Xml.XmlWriter
XmlWriter。
- settings
型別:Microsoft.VisualStudio.GraphModel.GraphSerializationSettings
序列化設定。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。