Graph::Load Method (String^, EventHandler<GraphDeserializationProgressEventArgs^>^, array<GraphSchema^>^)
Visual Studio 2015
Loads a new Graph object from the given file.
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
public: static Graph^ Load( String^ fileName, EventHandler<GraphDeserializationProgressEventArgs^>^ progressHandler, ... array<GraphSchema^>^ schemas )
Parameters
- fileName
-
Type:
System::String^
The file name.
- progressHandler
-
Type:
System::EventHandler<GraphDeserializationProgressEventArgs^>^
Callback handler for reporting load progress.
- schemas
-
Type:
array<Microsoft.VisualStudio.GraphModel::GraphSchema^>^
The schemas.
Show: