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: String

    The DGML being exchanged

  • sourceId
    Type: Guid

    The source Id of the Graph.

  • formats
    Type: array<DataFormat[]

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

.NET Framework Security

See Also

Reference

GraphDataObject Class

GraphDataObject Overload

Microsoft.VisualStudio.GraphModel Namespace