次の方法で共有


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

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

Returns

Remarks

Will only return non-empty string in DEBUG

Applies to