GraphDataObject.IsDgml(String) Method

Definition

Determines if the given xml starts with DirectedGraph

public:
 static bool IsDgml(System::String ^ markup);
public static bool IsDgml (string markup);
static member IsDgml : string -> bool
Public Shared Function IsDgml (markup As String) As Boolean

Parameters

markup
String

The xml to examine

Returns

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

Applies to