Graph.Load Method (String, array<GraphSchema )
Loads a new Graph object from the given file.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Shared Function Load ( _
fileName As String, _
ParamArray schemas As GraphSchema() _
) As Graph
public static Graph Load(
string fileName,
params GraphSchema[] schemas
)
public:
static Graph^ Load(
String^ fileName,
... array<GraphSchema^>^ schemas
)
static member Load :
fileName:string *
schemas:GraphSchema[] -> Graph
public static function Load(
fileName : String,
... schemas : GraphSchema[]
) : Graph
Parameters
fileName
Type: StringThe file name.
schemas
Type: array<Microsoft.VisualStudio.GraphModel.GraphSchema[]The schemas.
Return Value
Type: Microsoft.VisualStudio.GraphModel.Graph
The Graph, if loaded.
.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.