GraphDataObject Constructor (String, Guid, array<DataFormat )
Construct new GraphDataObject that publishes specific set of DGML formats
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Sub New ( _
dgml As String, _
sourceId As Guid, _
formats As DataFormat() _
)
public GraphDataObject(
string dgml,
Guid sourceId,
DataFormat[] formats
)
public:
GraphDataObject(
String^ dgml,
Guid sourceId,
array<DataFormat^>^ formats
)
new :
dgml:string *
sourceId:Guid *
formats:DataFormat[] -> GraphDataObject
public function GraphDataObject(
dgml : String,
sourceId : Guid,
formats : DataFormat[]
)
Parameters
dgml
Type: StringThe DGML being exchanged
sourceId
Type: GuidThe source Id of the Graph.
formats
Type: array<DataFormat[]The DataFormats to publish, for example, you could specify GraphDataObject.DgmlFormat
.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.