DebugTracerGraphModelHelper.DEBUG_GetLabelOrId(GraphObject) Method
Definition
Returns the label of an object or the id if the label is null. Should be used for tracing.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ DEBUG_GetLabelOrId(Microsoft::VisualStudio::GraphModel::GraphObject ^ obj);
public static string DEBUG_GetLabelOrId (this Microsoft.VisualStudio.GraphModel.GraphObject obj);
static member DEBUG_GetLabelOrId : Microsoft.VisualStudio.GraphModel.GraphObject -> string
<Extension()>
Public Function DEBUG_GetLabelOrId (obj As GraphObject) As String
Parameters
- obj
- GraphObject
Returns
Remarks
Will only return non-empty string in DEBUG