Graph.Parse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Parse(String, EventHandler<GraphDeserializationProgressEventArgs>, GraphSchema[]) |
Load a new Graph object from the given in-memory string containing DGML markup. |
Parse(String, GraphSchema[]) |
Load a new Graph object from the given in-memory string containing DGML markup. |
Parse(String, EventHandler<GraphDeserializationProgressEventArgs>, GraphSchema[])
Load a new Graph object from the given in-memory string containing DGML markup.
public:
static Microsoft::VisualStudio::GraphModel::Graph ^ Parse(System::String ^ dgml, EventHandler<Microsoft::VisualStudio::GraphModel::GraphDeserializationProgressEventArgs ^> ^ progressHandler, ... cli::array <Microsoft::VisualStudio::GraphModel::GraphSchema ^> ^ schemas);
public static Microsoft.VisualStudio.GraphModel.Graph Parse (string dgml, EventHandler<Microsoft.VisualStudio.GraphModel.GraphDeserializationProgressEventArgs> progressHandler, params Microsoft.VisualStudio.GraphModel.GraphSchema[] schemas);
static member Parse : string * EventHandler<Microsoft.VisualStudio.GraphModel.GraphDeserializationProgressEventArgs> * Microsoft.VisualStudio.GraphModel.GraphSchema[] -> Microsoft.VisualStudio.GraphModel.Graph
Public Shared Function Parse (dgml As String, progressHandler As EventHandler(Of GraphDeserializationProgressEventArgs), ParamArray schemas As GraphSchema()) As Graph
Parameters
- dgml
- String
The DGML text to load
- progressHandler
- EventHandler<GraphDeserializationProgressEventArgs>
Callback handler for reporting load progress
- schemas
- GraphSchema[]
the schemas
Returns
The Graph for the given DGML
Applies to
Parse(String, GraphSchema[])
Load a new Graph object from the given in-memory string containing DGML markup.
public:
static Microsoft::VisualStudio::GraphModel::Graph ^ Parse(System::String ^ dgml, ... cli::array <Microsoft::VisualStudio::GraphModel::GraphSchema ^> ^ schemas);
public static Microsoft.VisualStudio.GraphModel.Graph Parse (string dgml, params Microsoft.VisualStudio.GraphModel.GraphSchema[] schemas);
static member Parse : string * Microsoft.VisualStudio.GraphModel.GraphSchema[] -> Microsoft.VisualStudio.GraphModel.Graph
Public Shared Function Parse (dgml As String, ParamArray schemas As GraphSchema()) As Graph
Parameters
- dgml
- String
The DGML text to load
- schemas
- GraphSchema[]
the schemas
Returns
The Graph for the given DGML