Graph.Parse Method
Load a new Graph object from the given in-memory string containing DGML markup.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Shared Function Parse ( _
dgml As String _
) As Graph
public static Graph Parse(
string dgml
)
public:
static Graph^ Parse(
String^ dgml
)
static member Parse :
dgml:string -> Graph
public static function Parse(
dgml : String
) : Graph
Parameters
- dgml
Type: System.String
The DGML text to load
Return Value
Type: Microsoft.VisualStudio.GraphModel.Graph
The Graph for the given DGML
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.