Share via


Graph.ToXml Method (Int32)

Converts the graph to XML using the GraphSerializer.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function ToXml ( _
    graphNodeIdAliasThreshold As Integer _
) As String
public string ToXml(
    int graphNodeIdAliasThreshold
)
public:
String^ ToXml(
    int graphNodeIdAliasThreshold
)
member ToXml : 
        graphNodeIdAliasThreshold:int -> string
public function ToXml(
    graphNodeIdAliasThreshold : int
) : String

Parameters

  • graphNodeIdAliasThreshold
    Type: Int32

    Number of repetitions before aliasing will be performed for identifiers.

Return Value

Type: String
String that contains serialized graph.

.NET Framework Security

See Also

Reference

Graph Class

ToXml Overload

Microsoft.VisualStudio.GraphModel Namespace