Share via


GraphDataObject.IsDgml Method

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 if the xml is dgml

.NET Framework Security

See Also

Reference

GraphDataObject Class

Microsoft.VisualStudio.GraphModel Namespace