ICorDebugMergedAssemblyRecord::GetIndex 方法ICorDebugMergedAssemblyRecord::GetIndex Method

获取程序集的前缀索引。Gets the assembly's prefix index.

语法Syntax

HRESULT GetIndex(  
   [out] ULONG32 *pIndex  
);  

参数Parameters

pIndex
[out] 指向前缀索引的指针。[out] A pointer to the prefix index.

备注Remarks

前缀索引用于防止合并的元数据类型名称出现名称冲突。The prefix index is used to prevent name collisions in the merged metadata type names.

备注

此方法仅适用于 .NET Native。This method is available with .NET Native only.

要求Requirements

平台: 请参阅系统要求Platforms: See System Requirements.

标头:CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

库: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 4.6 之后可用,仅限 .NET NativeAvailable since 4.6, .NET Native only.NET Framework Versions: 自 4.6 之后可用,仅限 .NET NativeAvailable since 4.6, .NET Native only

请参阅See also