IDkmClrValueInspectionCallback.GetMemberValue 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.
Gets the value of a field or property as a DkmClrValue.
public:
Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ GetMemberValue(Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ clrValue, System::String ^ memberName, int memberType, System::String ^ parentTypeName, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext);
public Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue GetMemberValue (Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue clrValue, string memberName, int memberType, string parentTypeName, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext);
public Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue GetMemberValue (Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue clrValue, string memberName, int memberType, string? parentTypeName, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext);
abstract member GetMemberValue : Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue * string * int * string * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue
Public Function GetMemberValue (clrValue As DkmClrValue, memberName As String, memberType As Integer, parentTypeName As String, inspectionContext As DkmInspectionContext) As DkmClrValue
Parameters
- clrValue
- DkmClrValue
[In] A value resulting from a CLR inspection query. These values are used by a Result Formatter to generate DkmEvaluationResults.
- memberName
- String
[In] The name of the member to get the value for.
- memberType
- Int32
[In] The type of member to get the value for. The value should match a value of System.Reflection.MemberTypes. This method currently only supports getting the value for Fields (4) or Properties (16).
- parentTypeName
- String
[In,Optional] The full name of the type containing the member to get the value for. If ParentTypeName value is null, this method will look for the member in the runtime type.
- inspectionContext
- DkmInspectionContext
[In] The inspection context for this evaluation.
Returns
[Out] The DkmClrValue for the given member.