DkmClrValue.EvaluateToString(DkmInspectionContext) 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.
Execute the ToString override on an object represented by the given DkmClrValue. If the value is of type object or does not override ToString, this method will return null. This method requires function evaluation to be enabled. If function evaluation is disabled by the user or for any other reason, this method will return null. This method will also return null if the function evaluation fails for any reason.
Location constraint: API must be called from a Monitor component (component level < 100,000).
This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).
public:
System::String ^ EvaluateToString(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ InspectionContext);
public:
Platform::String ^ EvaluateToString(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ InspectionContext);
std::wstring EvaluateToString(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext const & InspectionContext);
public string EvaluateToString (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext InspectionContext);
public string? EvaluateToString (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext InspectionContext);
member this.EvaluateToString : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext -> string
Public Function EvaluateToString (InspectionContext As DkmInspectionContext) As String
Parameters
- InspectionContext
- DkmInspectionContext
[In] The inspection context for this evaluation.
Returns
[Out,Optional] The result of calling ToString on the object represented by this DkmClrValue.