具現化新的參數化類型物件,並呼叫物件的建構函式方法。
語法
HRESULT NewParameterizedObject (
[in] ICorDebugFunction *pConstructor,
[in] ULONG32 nTypeArgs,
[in, size_is(nTypeArgs)] ICorDebugType *ppTypeArgs[],
[in] ULONG32 nArgs,
[in, size_is(nArgs)] ICorDebugValue *ppArgs[]
);
參數
pConstructor [在]ICorDebugFunction 物件的指標,代表要具現化之物件的建構函式。
nTypeArgs [在]傳遞的類型引數數目。
ppTypeArgs [在]指標陣列,每個指標都指向 ICorDebugType 物件,代表所具現化物件的類型引數。
nArgs [在]傳遞至建構函式的引數數目。
ppArgs [在]指標陣列,每個指標都指向 ICorDebugValue 物件,代表傳遞至建構函式的引數值。
備註
物件的建構函式可以採用 Type 參數。
需求
平台: 請參閱 .NET 支援的作業系統。
標題: CorDebug.idl、CorDebug.h
圖書館: CorGuids.lib
.NET 版本: 自 .NET Framework 2.0 起提供