ModuleHandle Estrutura

Definição

Representa um identificador de runtime de um módulo.Represents a runtime handle for a module.

public value class ModuleHandle
public struct ModuleHandle
[System.Runtime.InteropServices.ComVisible(true)]
public struct ModuleHandle
type ModuleHandle = struct
[<System.Runtime.InteropServices.ComVisible(true)>]
type ModuleHandle = struct
Public Structure ModuleHandle
Herança
ModuleHandle
Atributos

Comentários

Os ResolveFieldHandle ResolveMethodHandle métodos, e ResolveTypeHandle fornecem resolução eficiente de tokens de metadados para identificadores de tempo de execução para campos, métodos e tipos no módulo atual.The ResolveFieldHandle, ResolveMethodHandle, and ResolveTypeHandle methods provide efficient resolution of metadata tokens to runtime handles for fields, methods, and types in the current module.

Campos

EmptyHandle

Representa um identificador de módulo vazio.Represents an empty module handle.

Propriedades

MDStreamVersion

Obtém a versão de fluxo de metadados.Gets the metadata stream version.

Métodos

Equals(ModuleHandle)

Retorna um valor Boolean que indica se a estrutura ModuleHandle especificada é igual ao ModuleHandle atual.Returns a Boolean value indicating whether the specified ModuleHandle structure is equal to the current ModuleHandle.

Equals(Object)

Retorna um valor Boolean que indica se o objeto especificado é uma estrutura ModuleHandle e se é igual ao ModuleHandle atual.Returns a Boolean value indicating whether the specified object is a ModuleHandle structure, and equal to the current ModuleHandle.

GetHashCode()

Retorna o código hash para a instância.Returns the hash code for this instance.

GetRuntimeFieldHandleFromMetadataToken(Int32)

Retorna um identificador de runtime identificado pelo token de metadados especificado.Returns a runtime handle for the field identified by the specified metadata token.

GetRuntimeMethodHandleFromMetadataToken(Int32)

Retorna um identificador de método de runtime do método ou construtor identificado pelo token de metadados especificado.Returns a runtime method handle for the method or constructor identified by the specified metadata token.

GetRuntimeTypeHandleFromMetadataToken(Int32)

Retorna um identificador de tipo de runtime do tipo identificado pelo token de metadados especificado.Returns a runtime type handle for the type identified by the specified metadata token.

ResolveFieldHandle(Int32)

Retorna um identificador de runtime identificado pelo token de metadados especificado.Returns a runtime handle for the field identified by the specified metadata token.

ResolveFieldHandle(Int32, RuntimeTypeHandle[], RuntimeTypeHandle[])

Retorna um identificador de campo de runtime do campo identificado pelo token de metadados especificado, especificando os argumentos de tipo genérico do tipo e do método em que o token está no escopo.Returns a runtime field handle for the field identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope.

ResolveMethodHandle(Int32)

Retorna um identificador de método de runtime do método ou construtor identificado pelo token de metadados especificado.Returns a runtime method handle for the method or constructor identified by the specified metadata token.

ResolveMethodHandle(Int32, RuntimeTypeHandle[], RuntimeTypeHandle[])

Retorna um identificador de método de runtime do método ou construtor identificado pelo token de metadados especificado, especificando os argumentos de tipo genérico do tipo e do método em que o token está no escopo.Returns a runtime method handle for the method or constructor identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope.

ResolveTypeHandle(Int32)

Retorna um identificador de tipo de runtime do tipo identificado pelo token de metadados especificado.Returns a runtime type handle for the type identified by the specified metadata token.

ResolveTypeHandle(Int32, RuntimeTypeHandle[], RuntimeTypeHandle[])

Retorna um identificador de tipo de runtime do tipo identificado pelo token de metadados especificado, especificando os argumentos de tipo genérico do tipo e do método em que o token está no escopo.Returns a runtime type handle for the type identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope.

Operadores

Equality(ModuleHandle, ModuleHandle)

Testa se duas estruturas ModuleHandle são iguais.Tests whether two ModuleHandle structures are equal.

Inequality(ModuleHandle, ModuleHandle)

Testa se as duas estruturas ModuleHandle são diferentes.Tests whether two ModuleHandle structures are unequal.

Aplica-se a

Confira também