Freigeben über


IDkmClrFormatter2.GetValueString Method

Definition

Get the value string to display in the UI for the given DkmClrValue.

public:
 System::String ^ GetValueString(Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ clrValue, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ customTypeInfo, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ formatSpecifiers);
public string GetValueString (Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue clrValue, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo customTypeInfo, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, System.Collections.ObjectModel.ReadOnlyCollection<string> formatSpecifiers);
public string GetValueString (Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue clrValue, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo? customTypeInfo, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, System.Collections.ObjectModel.ReadOnlyCollection<string>? formatSpecifiers);
abstract member GetValueString : Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * System.Collections.ObjectModel.ReadOnlyCollection<string> -> string
Public Function GetValueString (clrValue As DkmClrValue, customTypeInfo As DkmClrCustomTypeInfo, inspectionContext As DkmInspectionContext, formatSpecifiers As ReadOnlyCollection(Of String)) As String

Parameters

clrValue
DkmClrValue

[In] A value resulting from a CLR inspection query. These values are used by a Result Formatter to generate DkmEvaluationResults.

customTypeInfo
DkmClrCustomTypeInfo

[In,Optional] The information provided by the expression compiler for identifying compiler intrinsic type information.

inspectionContext
DkmInspectionContext

[In] The inspection context for this evaluation.

formatSpecifiers
ReadOnlyCollection<String>

[In,Optional] The optional format specifier(s) to use when formatting this result.

Returns

[Out] The value string.

Applies to