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
- 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
Remarks
All exceptions are caught and false returned if there are any errors trying to determine if the xml is dgml
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.