GraphDataObject Constructor (Graph, Guid)
Construct new GraphDataObject
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Sub New ( _
graph As Graph, _
sourceId As Guid _
)
public GraphDataObject(
Graph graph,
Guid sourceId
)
public:
GraphDataObject(
Graph^ graph,
Guid sourceId
)
new :
graph:Graph *
sourceId:Guid -> GraphDataObject
public function GraphDataObject(
graph : Graph,
sourceId : Guid
)
Parameters
graph
Type: Microsoft.VisualStudio.GraphModel.GraphThe graph to serialize
sourceId
Type: GuidThe source Id of the Graph.
.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.