DkmClrValue.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.
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:
Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrValue ^ GetMemberValue(System::String ^ MemberName, int MemberType, System::String ^ ParentTypeName, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ InspectionContext);
public Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue GetMemberValue (string MemberName, int MemberType, string ParentTypeName, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext InspectionContext);
public Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue GetMemberValue (string MemberName, int MemberType, string? ParentTypeName, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext InspectionContext);
member this.GetMemberValue : string * int * string * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue
Public Function GetMemberValue (MemberName As String, MemberType As Integer, ParentTypeName As String, InspectionContext As DkmInspectionContext) As DkmClrValue
Parameters
- 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.