Edit

Share via


RuntimeMethodHandle Struct

Definition

RuntimeMethodHandle is a handle to the internal metadata representation of a method.

public struct RuntimeMethodHandle
public struct RuntimeMethodHandle : System.Runtime.Serialization.ISerializable
public struct RuntimeMethodHandle : IEquatable<RuntimeMethodHandle>, System.Runtime.Serialization.ISerializable
[System.Serializable]
public struct RuntimeMethodHandle : System.Runtime.Serialization.ISerializable
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct RuntimeMethodHandle : System.Runtime.Serialization.ISerializable
Inheritance
RuntimeMethodHandle
Attributes
Implements

Properties

Value

Gets the value of this instance.

Methods

Equals(Object)

Indicates whether this instance is equal to a specified object.

Equals(RuntimeMethodHandle)

Indicates whether this instance is equal to a specified RuntimeMethodHandle.

FromIntPtr(IntPtr)

Returns a new RuntimeMethodHandle object created from a handle to a RuntimeMethodInfo.

GetFunctionPointer()

Obtains a pointer to the method represented by this instance.

GetHashCode()

Returns the hash code for this instance.

GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

Populates a SerializationInfo with the data necessary to deserialize the field represented by this instance.

ToIntPtr(RuntimeMethodHandle)

Returns the internal pointer representation of a RuntimeMethodHandle object.

Operators

Equality(RuntimeMethodHandle, RuntimeMethodHandle)

Indicates whether two instances of RuntimeMethodHandle are equal.

Inequality(RuntimeMethodHandle, RuntimeMethodHandle)

Indicates whether two instances of RuntimeMethodHandle are not equal.

Applies to

Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.1
UWP 10.0