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)

public:
GraphDataObject(
	String^ dgml,
	Guid sourceId,
	array<DataFormat^>^ formats
)

Parameters

dgml
Type: System::String^

The DGML being exchanged

sourceId
Type: System::Guid

The source Id of the Graph.

formats
Type: array<System.Windows::DataFormat^>^

The DataFormats to publish, for example, you could specify GraphDataObject.DgmlFormat

Return to top
Show: