CodedIndex.MemberRefParent(EntityHandle) 方法
定义
为指定的句柄计算 MemberRefParent 编码索引。Calculates a MemberRefParent coded index for the specified handle.
public:
static int MemberRefParent(System::Reflection::Metadata::EntityHandle handle);
public static int MemberRefParent (System.Reflection.Metadata.EntityHandle handle);
static member MemberRefParent : System.Reflection.Metadata.EntityHandle -> int
Public Shared Function MemberRefParent (handle As EntityHandle) As Integer
参数
- handle
- EntityHandle
TypeDefinitionHandle、TypeReferenceHandle、ModuleReferenceHandle、MethodDefinitionHandle或 TypeSpecificationHandle。TypeDefinitionHandle, TypeReferenceHandle, ModuleReferenceHandle, MethodDefinitionHandle, or TypeSpecificationHandle.
返回
例外
句柄类型不是预期类型。The handle type is unexpected.