Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Loads a new Graph object from the given in-memory string that contains DGML markup.
Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Shared Function Parse ( _
    dgml As String, _
    ParamArray schemas As GraphSchema() _
) As Graph
public static Graph Parse(
    string dgml,
    params GraphSchema[] schemas
)
public:
static Graph^ Parse(
    String^ dgml, 
    ... array<GraphSchema^>^ schemas
)
static member Parse : 
        dgml:string * 
        schemas:GraphSchema[] -> Graph
public static function Parse(
    dgml : String, 
    ... schemas : GraphSchema[]
) : Graph
Parameters
- dgml 
 Type: System.String- The DGML text to load. 
- schemas 
 Type: array<Microsoft.VisualStudio.GraphModel.GraphSchema[]- The schemas. 
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.