GraphSerializer 類別
GraphSerializer 用於序列化圖形物件。
繼承階層架構
System.Object
Microsoft.VisualStudio.GraphModel.GraphSerializer
命名空間: Microsoft.VisualStudio.GraphModel
組件: Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)
語法
'宣告
Public Class GraphSerializer
public class GraphSerializer
public ref class GraphSerializer
type GraphSerializer = class end
public class GraphSerializer
GraphSerializer 型別會公開下列成員。
建構函式
回頁首
屬性
回頁首
方法
.gif) |
Deserialize |
反序列化指定 XDocument 物件的圖形 |
.gif) |
Equals |
判斷指定的 Object 和目前的 Object 是否相等。 (繼承自 Object)。 |
.gif) |
Finalize |
允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。 |
.gif) |
GetHashCode |
做為特定型別的雜湊函式。 (繼承自 Object)。 |
.gif) |
GetType |
取得目前執行個體的 Type。 (繼承自 Object)。 |
.gif) .gif) |
Load(Stream) |
反序列化指定資料流的圖形物件模型。 |
.gif) .gif) |
Load(TextReader) |
反序列化指定文字讀取器的圖形物件模型。 |
.gif) .gif) |
Load(String) |
反序列化指定檔二的圖形物件模型。 |
.gif) .gif) |
Load(XDocument) |
反序列化指定 XDocument 的圖形物件。 |
.gif) .gif) |
Load(XmlReader) |
反序列化指定 XML 讀取器的圖形物件模型。 |
.gif) .gif) |
Load(Stream, array<GraphSchema[]) |
|
.gif) .gif) |
Load(TextReader, array<GraphSchema[]) |
|
.gif) .gif) |
Load(String, array<GraphSchema[]) |
|
.gif) .gif) |
Load(XDocument, Graph) |
將指定 XDocument 的圖形物件模型反序列化為指定的圖形物件。 |
.gif) .gif) |
Load(XDocument, array<GraphSchema[]) |
|
.gif) .gif) |
Load(XmlReader, array<GraphSchema[]) |
|
.gif) .gif) |
Load(XDocument, Graph, array<GraphSchema[]) |
|
.gif) |
MemberwiseClone |
建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 |
.gif) .gif) |
Save(Graph, Stream) |
序列化指定輸出資料流的指定圖形。 |
.gif) .gif) |
Save(Graph, TextWriter) |
序列化指定文字寫入器的指定圖形。 |
.gif) .gif) |
Save(Graph, String) |
序列化指定檔案名稱的指定圖形。 |
.gif) .gif) |
Save(Graph, XmlWriter) |
序列化指定 XML 寫入器的指定圖形。 |
.gif) .gif) |
Save(Graph, TextWriter, Int32) |
序列化指定文字寫入器的指定圖形。 |
.gif) |
Serialize |
序列化指定 XML 寫入器的指定圖形。要序列化的圖形是此類別的成員。 |
.gif) |
ToString |
傳回表示目前物件的字串。 (繼承自 Object)。 |
回頁首
事件
.gif) |
ErrorHandler |
新增此錯誤處理常式,擷取所有還原序列化例外狀況,並且繼續。如果沒有登錄任何錯誤處理常式,則序列化程式會擲回例外狀況並停止。 |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。
請參閱
參考
Microsoft.VisualStudio.GraphModel 命名空間