构建新的 GraphDataObject
命名空间: Microsoft.VisualStudio.GraphModel
程序集: Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)
语法
声明
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
)
参数
graph
类型:Microsoft.VisualStudio.GraphModel.Graph要序列化的关系图。
sourceId
类型:Guid关系图的源 ID。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。