DebugTracerGraphModelHelper.DEBUG_GetLabelOrId(GraphObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the label of an object or the id if the label is null. Should be used for tracing Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.IDebugTracer
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