ICorDebugObjectValue 介面ICorDebugObjectValue Interface

"ICorDebugValue" 的子類別,表示包含物件的值。A subclass of "ICorDebugValue" that represents a value that contains an object.

方法Methods

方法Method 描述Description
GetClass 方法GetClass Method 取得 Type 這個所參考之物件的 common language runtime (CLR) 的介面指標 ICorDebugObjectValueGets an interface pointer to the common language runtime (CLR) Type of the object that this ICorDebugObjectValue references.
GetContext 方法GetContext Method 未實作。Not implemented.
GetFieldValue 方法GetFieldValue Method 取得 ICorDebugValue 的介面指標,表示指定之類別的指定域值。Gets an interface pointer to an ICorDebugValue that represents the value of the specified field of the specified class.
GetManagedCopy 方法GetManagedCopy Method 已過時。Obsolete. 請不要呼叫此方法。Do not call this method.
GetVirtualMethod 方法GetVirtualMethod Method 未實作。Not implemented.
IsValueClass 方法IsValueClass Method 取得值,這個值會指出這個所參考的物件是否 ICorDebugObjectValue 為實值型別。Gets a value that indicates whether the object referenced by this ICorDebugObjectValue is a value type.
SetFromManagedCopy 方法SetFromManagedCopy Method 已過時。Obsolete. 請不要呼叫此方法。Do not call this method.

備註Remarks

ICorDebugObjectValue會維持有效,直到正在進行的進程繼續進行。An ICorDebugObjectValue remains valid until the process being debugged is continued.

注意

這個介面不支援跨電腦或跨處理序的遠端呼叫。This interface does not support being called remotely, either cross-machine or cross-process.

規格需求Requirements

平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 1.0 起可用Available since 1.0.NET Framework Versions: 自 1.0 起可用Available since 1.0

另請參閱See also