ICorDebugType::GetFirstTypeParameter 方法

取得 ICorDebugType 的介面指標,表示此 ICorDebugType 所表示之型別的第一個 Type 參數。

語法

HRESULT GetFirstTypeParameter (  
    [out] ICorDebugType   **value  
);  

參數

value
[out] ICorDebugType 物件的位址指標,代表第一個參數。

備註

在型別其他資訊最多涉及一個型別參數的情況下,可以呼叫 GetFirstTypeParameter。 特別是,如果型別是 ELEMENT_TYPE_ARRAY、ELEMENT_TYPE_SZARRAY、ELEMENT_TYPE_BYREF 或 ELEMENT_TYPE_PTR,可以使用該參數,如 ICorDebugType::GetType 方法所指示。

規格需求

平台:請參閱系統需求

標頭:CorDebug.idl、CorDebug.h

程式庫:CorGuids.lib

.NET Framework版本:自 2.0 起提供