GraphSerializer.Load Method (String)
Deserialize the graph object model 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 _
) As Graph
public static Graph Load(
string fileName
)
public:
static Graph^ Load(
String^ fileName
)
static member Load :
fileName:string -> Graph
public static function Load(
fileName : String
) : Graph
Parameters
- fileName
Type: System.String
The file to deserialize
Return Value
Type: Microsoft.VisualStudio.GraphModel.Graph
new deserialized Graph object
.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.