共用方式為


IDebugGenericFieldDefinition

表示 Managed 程式代碼泛型類型的欄位定義。

語法

IDebugGenericFieldDefinition : IUnknown

方法

這個介面會實作下列方法:

方法 描述
ConstructInstantiation 建構指定類型自變數陣列的欄位實例。
GetFormalTypeParams 擷取指定參數數目的類型參數。
TypeParamCount 擷取與泛型字段相關聯的類型參數數目。

需求

標頭:Sh.h

命名空間:Microsoft.VisualStudio.Debugger.Interop

元件:Microsoft.VisualStudio.Debugger.Interop.dll