Delen via


GraphDataObject.IsDgml Method

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

Determines if the given xml starts with DirectedGraph

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Shared Function IsDgml ( _
    markup As String _
) As Boolean
public static bool IsDgml(
    string markup
)
public:
static bool IsDgml(
    String^ markup
)
static member IsDgml : 
        markup:string -> bool
public static function IsDgml(
    markup : String
) : boolean

Parameters

Return Value

Type: System.Boolean
True if DirectedGraph is the first element in the xml, false otherwise

Remarks

All exceptions are caught and false returned if there are any errors trying to determine whether the xml is dgml

.NET Framework Security

See Also

Reference

GraphDataObject Class

Microsoft.VisualStudio.GraphModel Namespace