GraphDataObject::IsDgml Method (String^)

 

Determines if the given xml starts with DirectedGraph

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

public:
static bool IsDgml(
	String^ markup
)

Parameters

markup
Type: System::String^

The xml to examine

Return Value

Type: System::Boolean

True if DirectedGraph is the first element in the xml, false otherwise

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

Return to top
Show: