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 Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.IDebugTracer

C++
public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ DEBUG_GetLabelOrId(Microsoft::VisualStudio::GraphModel::GraphObject ^ obj);

Parameters

Returns

Remarks

Will only return non-empty string in DEBUG

Applies to

Produkt Versiounen
Visual Studio SDK 2017, 2019, 2022