ITypeInfo.GetRefTypeOfImplType 方法
擷取型別描述的元件物件類別 (coclass) 或繼承的介面實作的介面型別。
命名空間: Microsoft.VisualStudio.VsWizard
組件: Microsoft.VisualStudio.VsWizard (在 Microsoft.VisualStudio.VsWizard.dll 中)
語法
'宣告
Sub GetRefTypeOfImplType ( _
index As UInteger, _
<OutAttribute> ByRef pRefType As UInteger _
)
void GetRefTypeOfImplType(
uint index,
out uint pRefType
)
void GetRefTypeOfImplType(
[InAttribute] unsigned int index,
[OutAttribute] unsigned int% pRefType
)
abstract GetRefTypeOfImplType :
index:uint32 *
pRefType:uint32 byref -> unit
function GetRefTypeOfImplType(
index : uint,
pRefType : uint
)
參數
- index
型別:System.UInt32
其控制代碼被傳回之實作型別的索引。有效範圍是從 0 到 cImplTypes 成員在Microsoft.VisualStudio.OLE.Interop.TYPEATTR結構。
- pRefType
型別:System.UInt32%
在傳回時,指標 (如果有的話) 實作的介面之控制代碼。這個控制代碼可以傳遞至GetRefTypeInfo以取得型別描述。
備註
若要取得存取權Microsoft.VisualStudio.OLE.Interop.TYPEATTR程式庫和文件,您必須先下載Visual Studio SDK從Visual Studio 的擴充性站台。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。