ModuleHandle Struktura
Definicja
Reprezentuje dojście środowiska uruchomieniowego dla modułu.Represents a runtime handle for a module.
public value class ModuleHandle
[System.Runtime.InteropServices.ComVisible(true)]
public struct ModuleHandle
type ModuleHandle = struct
Public Structure ModuleHandle
- Dziedziczenie
- Atrybuty
Uwagi
Metody ResolveFieldHandle, ResolveMethodHandle, iResolveTypeHandle zapewniają wydajne Rozwiązywanie tokenów metadanych do dojść środowiska uruchomieniowego dla pól, metod i typów w bieżącym module.The ResolveFieldHandle, ResolveMethodHandle, and ResolveTypeHandle methods provide efficient resolution of metadata tokens to runtime handles for fields, methods, and types in the current module.
Pola
EmptyHandle |
Reprezentuje puste dojście modułu.Represents an empty module handle. |
Właściwości
MDStreamVersion |
Pobiera wersję strumienia metadanych.Gets the metadata stream version. |
Metody
Equals(ModuleHandle) |
Zwraca wartość wskazującą, czy określona ModuleHandle struktura jest równa bieżącej ModuleHandle. BooleanReturns a Boolean value indicating whether the specified ModuleHandle structure is equal to the current ModuleHandle. |
Equals(Object) |
Zwraca wartość wskazującą czy określony obiekt ModuleHandle jest strukturą i jest równy bieżącemu ModuleHandle. BooleanReturns a Boolean value indicating whether the specified object is a ModuleHandle structure, and equal to the current ModuleHandle. |
GetHashCode() |
Zwraca kod skrótu dla tego wystąpienia.Returns the hash code for this instance. |
GetRuntimeFieldHandleFromMetadataToken(Int32) |
Zwraca dojście środowiska uruchomieniowego dla pola identyfikowanego przez określony token metadanych.Returns a runtime handle for the field identified by the specified metadata token. |
GetRuntimeMethodHandleFromMetadataToken(Int32) |
Zwraca dojście metody środowiska uruchomieniowego dla metody lub konstruktora identyfikowanej przez określony token metadanych.Returns a runtime method handle for the method or constructor identified by the specified metadata token. |
GetRuntimeTypeHandleFromMetadataToken(Int32) |
Zwraca dojście typu środowiska uruchomieniowego dla typu identyfikowanego przez określony token metadanych.Returns a runtime type handle for the type identified by the specified metadata token. |
ResolveFieldHandle(Int32) |
Zwraca dojście środowiska uruchomieniowego dla pola identyfikowanego przez określony token metadanych.Returns a runtime handle for the field identified by the specified metadata token. |
ResolveFieldHandle(Int32, RuntimeTypeHandle[], RuntimeTypeHandle[]) |
Zwraca dojście pola środowiska uruchomieniowego dla pola identyfikowanego przez określony token metadanych, określając argumenty typu ogólnego typu i metody, w której token znajduje się w zakresie.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) |
Zwraca dojście metody środowiska uruchomieniowego dla metody lub konstruktora identyfikowanej przez określony token metadanych.Returns a runtime method handle for the method or constructor identified by the specified metadata token. |
ResolveMethodHandle(Int32, RuntimeTypeHandle[], RuntimeTypeHandle[]) |
Zwraca dojście metody środowiska uruchomieniowego dla metody lub konstruktora identyfikowanej przez określony token metadanych, określając argumenty typu ogólnego typu i metody, w których token znajduje się w zakresie.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) |
Zwraca dojście typu środowiska uruchomieniowego dla typu identyfikowanego przez określony token metadanych.Returns a runtime type handle for the type identified by the specified metadata token. |
ResolveTypeHandle(Int32, RuntimeTypeHandle[], RuntimeTypeHandle[]) |
Zwraca dojście typu środowiska uruchomieniowego dla typu identyfikowanego przez określony token metadanych, określając argumenty typu ogólnego typu i metody, w której token jest w zakresie.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. |
Operatory
Equality(ModuleHandle, ModuleHandle) |
Testuje, ModuleHandle czy dwie struktury są równe.Tests whether two ModuleHandle structures are equal. |
Inequality(ModuleHandle, ModuleHandle) |
Testuje, ModuleHandle czy dwie struktury są różne.Tests whether two ModuleHandle structures are unequal. |