Condividi tramite


GraphDataObject Constructor (String, Guid, array<DataFormat )

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

  • 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

.NET Framework Security

See Also

Reference

GraphDataObject Class

GraphDataObject Overload

Microsoft.VisualStudio.GraphModel Namespace