Редактиране

Споделяне чрез


ICorDebugType::GetFirstTypeParameter Method

Gets an interface pointer to an ICorDebugType that represents the first Type parameter of the type represented by this ICorDebugType.

Syntax

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

Parameters

value
[out] A pointer to the address of an ICorDebugType object that represents the first parameter.

Remarks

GetFirstTypeParameter can be called in cases where the additional information about the type involves, at most, one type parameter. In particular, it can be used if the type is an ELEMENT_TYPE_ARRAY, ELEMENT_TYPE_SZARRAY, ELEMENT_TYPE_BYREF, or ELEMENT_TYPE_PTR, as indicated by the ICorDebugType::GetType method.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0