DebugTracerGraphModelHelper.DEBUG_GetLabelOrId(GraphObject) Method
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
C++
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
- obj
- GraphObject
Will only return non-empty string in DEBUG
Produkt | Versiounen |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |