Share via


Graph.ToXml Method (Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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: System.Int32

    Number of repetitions before aliasing will be performed for identifiers.

Return Value

Type: System.String
String that contains serialized graph.

.NET Framework Security

See Also

Reference

Graph Class

ToXml Overload

Microsoft.VisualStudio.GraphModel Namespace