MetadataTokens 类

定义

public ref class MetadataTokens abstract sealed
public static class MetadataTokens
type MetadataTokens = class
Public Module MetadataTokens
继承
MetadataTokens

字段

HeapCount

可以存在于 Ecma335 元数据中的表的最大数目。Maximum number of tables that can be present in Ecma335 metadata.

TableCount

可以存在于 Ecma335 元数据中的表的最大数目。Maximum number of tables that can be present in Ecma335 metadata.

方法

AssemblyFileHandle(Int32)
AssemblyReferenceHandle(Int32)
BlobHandle(Int32)
ConstantHandle(Int32)
CustomAttributeHandle(Int32)
CustomDebugInformationHandle(Int32)
DeclarativeSecurityAttributeHandle(Int32)
DocumentHandle(Int32)
DocumentNameBlobHandle(Int32)
EntityHandle(Int32)

从标记值创建实体句柄。Creates an entity handle from a token value.

EntityHandle(TableIndex, Int32)

从标记值创建 EntityHandleCreates an EntityHandle from a token value.

EventDefinitionHandle(Int32)
ExportedTypeHandle(Int32)
FieldDefinitionHandle(Int32)
GenericParameterConstraintHandle(Int32)
GenericParameterHandle(Int32)
GetHeapOffset(BlobHandle)

获取与指定 handle 相对应的元数据堆数据的偏移量。Gets the offset of metadata heap data that corresponds to the specified handle.

GetHeapOffset(GuidHandle)

获取与指定 handle 相对应的元数据堆数据的偏移量。Gets the offset of metadata heap data that corresponds to the specified handle.

GetHeapOffset(Handle)

获取与指定 handle 相对应的元数据堆数据的偏移量。Gets the offset of metadata heap data that corresponds to the specified handle.

GetHeapOffset(MetadataReader, Handle)

获取与 reader 上下文中的指定 handle 相对应的元数据堆数据的偏移量。Gets the offset of metadata heap data that corresponds to the specified handle in the context of reader.

GetHeapOffset(StringHandle)

获取与指定 handle 相对应的元数据堆数据的偏移量。Gets the offset of metadata heap data that corresponds to the specified handle.

GetHeapOffset(UserStringHandle)

获取与指定 handle 相对应的元数据堆数据的偏移量。Gets the offset of metadata heap data that corresponds to the specified handle.

GetRowNumber(EntityHandle)

获取与指定 handle 相对应的元数据表项的行号。Gets the row number of a metadata table entry that corresponds to the specified handle.

GetRowNumber(MetadataReader, EntityHandle)

获取与 reader 上下文中的指定 handle 相对应的元数据表项的行号。Gets the row number of a metadata table entry that corresponds to the specified handle in the context of reader.

GetToken(EntityHandle)

获取指定 handle 的元数据标记。Gets the metadata token of the specified handle.

GetToken(Handle)

获取指定 handle 的元数据标记。Gets the metadata token of the specified handle.

GetToken(MetadataReader, EntityHandle)

获取 reader 上下文中的指定 handle 的元数据标记。Gets the metadata token of the specified handle in the context of reader.

GetToken(MetadataReader, Handle)

获取 reader 上下文中的指定 handle 的元数据标记。Gets the metadata token of the specified handle in the context of reader.

GuidHandle(Int32)
Handle(Int32)

从标记值创建句柄。Creates a handle from a token value.

Handle(TableIndex, Int32)

从标记值创建 EntityHandleCreates an EntityHandle from a token value.

ImportScopeHandle(Int32)
InterfaceImplementationHandle(Int32)
LocalConstantHandle(Int32)
LocalScopeHandle(Int32)
LocalVariableHandle(Int32)
ManifestResourceHandle(Int32)
MemberReferenceHandle(Int32)
MethodDebugInformationHandle(Int32)
MethodDefinitionHandle(Int32)
MethodImplementationHandle(Int32)
MethodSpecificationHandle(Int32)
ModuleReferenceHandle(Int32)
ParameterHandle(Int32)
PropertyDefinitionHandle(Int32)
StandaloneSignatureHandle(Int32)
StringHandle(Int32)
TryGetHeapIndex(HandleKind, HeapIndex)

获取与指定 HandleKind 相对应的堆的 HeapIndexGets the HeapIndex of the heap corresponding to the specified HandleKind.

TryGetTableIndex(HandleKind, TableIndex)

获取与指定 HandleKind 相对应的表的 TableIndexGets the TableIndex of the table corresponding to the specified HandleKind.

TypeDefinitionHandle(Int32)
TypeReferenceHandle(Int32)
TypeSpecificationHandle(Int32)
UserStringHandle(Int32)

适用于