IDkmClrExpressionEvaluatorCallbackInternal.CompileDisplayAttributeInternal Method

Definition

This method is used internally by the CLR Expression Evaluator.

public:
 void CompileDisplayAttributeInternal(Microsoft::VisualStudio::Debugger::Evaluation::DkmLanguageExpression ^ expression, Microsoft::VisualStudio::Debugger::Clr::DkmClrModuleInstance ^ moduleInstance, int token, [Runtime::InteropServices::Out] System::String ^ % error, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmCompiledClrInspectionQuery ^ % result);
public void CompileDisplayAttributeInternal (Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguageExpression expression, Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance moduleInstance, int token, out string error, out Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrInspectionQuery result);
public void CompileDisplayAttributeInternal (Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguageExpression expression, Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance moduleInstance, int token, out string? error, out Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrInspectionQuery? result);
abstract member CompileDisplayAttributeInternal : Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguageExpression * Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * int * string * DkmCompiledClrInspectionQuery -> unit
Public Sub CompileDisplayAttributeInternal (expression As DkmLanguageExpression, moduleInstance As DkmClrModuleInstance, token As Integer, ByRef error As String, ByRef result As DkmCompiledClrInspectionQuery)

Parameters

expression
DkmLanguageExpression

[In] DkmLanguageExpression represents an expression to be parsed and evaluated by an expression evaluator.

moduleInstance
DkmClrModuleInstance

[In] The module instance containing the type the DebuggerDisplayAttribute applies to.

token
Int32

[In] The metadata token of the type the DebuggerDisplayAttribute applies to.

error
String

[Out,Optional] Indicates any error compiling the expression. If the code compiles successfully, this value should be null. In error cases, this value indicates the reason for the compile error and the caller should return S_OK.

result
DkmCompiledClrInspectionQuery

[Out,Optional] The compiled display attribute. If Result is null, and Error is not null, there was a compile error.

Applies to