MethodRental MethodRental MethodRental MethodRental Class

Definición

Proporciona una forma rápida de intercambiar la implementación del cuerpo de un método a partir de un método de una clase.Provides a fast way to swap method body implementation given a method of a class.

public ref class MethodRental sealed : System::Runtime::InteropServices::_MethodRental
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class MethodRental : System.Runtime.InteropServices._MethodRental
type MethodRental = class
    interface _MethodRental
Public NotInheritable Class MethodRental
Implements _MethodRental
Herencia
MethodRentalMethodRentalMethodRentalMethodRental
Atributos
Implementaciones

Campos

JitImmediate JitImmediate JitImmediate JitImmediate

Especifica que el método debe compilarse inmediatamente con el compilador just-in-time (JIT).Specifies that the method should be just-in-time (JIT) compiled immediately.

JitOnDemand JitOnDemand JitOnDemand JitOnDemand

Especifica que el método debe compilarse cuando sea necesario con el compilador just-in-time (JIT).Specifies that the method should be just-in-time (JIT) compiled when needed.

Métodos

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
SwapMethodBody(Type, Int32, IntPtr, Int32, Int32) SwapMethodBody(Type, Int32, IntPtr, Int32, Int32) SwapMethodBody(Type, Int32, IntPtr, Int32, Int32) SwapMethodBody(Type, Int32, IntPtr, Int32, Int32)

Intercambia el cuerpo de un método.Swaps the body of a method.

ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Implementaciones de interfaz explícitas

_MethodRental.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) _MethodRental.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) _MethodRental.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) _MethodRental.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Asigna un conjunto de nombres a un conjunto correspondiente de identificadores de envío.Maps a set of names to a corresponding set of dispatch identifiers.

_MethodRental.GetTypeInfo(UInt32, UInt32, IntPtr) _MethodRental.GetTypeInfo(UInt32, UInt32, IntPtr) _MethodRental.GetTypeInfo(UInt32, UInt32, IntPtr) _MethodRental.GetTypeInfo(UInt32, UInt32, IntPtr)

Recupera la información de tipo de un objeto, que se puede usar después para obtener la información de tipo de una interfaz.Retrieves the type information for an object, which can then be used to get the type information for an interface.

_MethodRental.GetTypeInfoCount(UInt32) _MethodRental.GetTypeInfoCount(UInt32) _MethodRental.GetTypeInfoCount(UInt32) _MethodRental.GetTypeInfoCount(UInt32)

Recupera el número de interfaces de información de tipo que proporciona un objeto (0 ó 1).Retrieves the number of type information interfaces that an object provides (either 0 or 1).

_MethodRental.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) _MethodRental.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) _MethodRental.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) _MethodRental.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Proporciona acceso a las propiedades y los métodos expuestos por un objeto.Provides access to properties and methods exposed by an object.

Seguridad

ReflectionPermission
Cuando se invoca en tiempo de ejecución a través de mecanismos como InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]).when invoked late-bound through mechanisms such as InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]). Enumeración asociada: MemberAccess.Associated enumeration: MemberAccess.

Se aplica a