Compartilhar via


Graph.ToXml Method

Definition

Overloads

ToXml()

Convert the graph to XML using the GraphSerializer.

ToXml(Int32)

Convert the graph to XML using the GraphSerializer.

ToXml()

Convert the graph to XML using the GraphSerializer.

public:
 System::String ^ ToXml();
public string ToXml ();
member this.ToXml : unit -> string
Public Function ToXml () As String

Returns

String containing serialized graph.

Applies to

ToXml(Int32)

Convert the graph to XML using the GraphSerializer.

public:
 System::String ^ ToXml(int graphNodeIdAliasThreshold);
public string ToXml (int graphNodeIdAliasThreshold);
member this.ToXml : int -> string
Public Function ToXml (graphNodeIdAliasThreshold As Integer) As String

Parameters

graphNodeIdAliasThreshold
Int32

Number of repetitions before aliasing will be performed for GraphNodeIds

Returns

String containing serialized graph.

Applies to