DkmClrAppDomain.GetProperty(ICorDebugValue, String) 方法

定义

计算给定 ICorDebugValue 的属性。 值的类型必须由调用此 $Name $ 的 DkmClrAppDomain 加载。

位置约束:这必须位于远程端,因为我们要传递的是 ICorDebugHandleValue。

此 API 是在 Visual Studio 15 RTM (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);
member this.GetProperty : Microsoft.VisualStudio.CorDebugInterop.ICorDebugValue * string -> Microsoft.VisualStudio.Debugger.Clr.DkmILInterpreterValue
Public Function GetProperty (Value As ICorDebugValue, PropertyName As String) As DkmILInterpreterValue

参数

Value
ICorDebugValue

中要解释其属性的对象。 这可以是 ICorDebugHandleValue 或 ICorDebugObjectValue。

PropertyName
String

中要解释的属性的名称。

返回

DkmILInterpreterValue

[Out,Optional]属性解释的结果。

适用于