Udostępnij za pośrednictwem


DkmClrAppDomain.GetProperty(ICorDebugValue, String) Method

Definition

Evaluates a property on the given ICorDebugValue. The value's type must be loaded by the DkmClrAppDomain that this $Name$ is being called on.

Location constraint: This must be on the remote side because we are passing an ICorDebugHandleValue.

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

public:
 Microsoft::VisualStudio::Debugger::Clr::DkmILInterpreterValue ^ GetProperty(Microsoft::VisualStudio::CorDebugInterop::ICorDebugValue ^ Value, System::String ^ PropertyName);
public:
 Microsoft::VisualStudio::Debugger::Clr::DkmILInterpreterValue ^ GetProperty(Microsoft::VisualStudio::CorDebugInterop::ICorDebugValue ^ Value, Platform::String ^ PropertyName);
Microsoft::VisualStudio::Debugger::Clr::DkmILInterpreterValue GetProperty(Microsoft::VisualStudio::CorDebugInterop::ICorDebugValue const & Value, std::wstring const & PropertyName);
public Microsoft.VisualStudio.Debugger.Clr.DkmILInterpreterValue GetProperty (Microsoft.VisualStudio.CorDebugInterop.ICorDebugValue Value, string PropertyName);
public Microsoft.VisualStudio.Debugger.Clr.DkmILInterpreterValue? GetProperty (Microsoft.VisualStudio.CorDebugInterop.ICorDebugValue Value, string PropertyName);
member this.GetProperty : Microsoft.VisualStudio.CorDebugInterop.ICorDebugValue * string -> Microsoft.VisualStudio.Debugger.Clr.DkmILInterpreterValue
Public Function GetProperty (Value As ICorDebugValue, PropertyName As String) As DkmILInterpreterValue

Parameters

Value
ICorDebugValue

[In] The object to interpret a property on. This can be an ICorDebugHandleValue or an ICorDebugObjectValue.

PropertyName
String

[In] The name of the property to interpret.

Returns

[Out,Optional] The result of the property interpretation.

Applies to