RuntimeMethodHandle 结构
定义
RuntimeMethodHandle 是方法的内部元数据表示形式的句柄。RuntimeMethodHandle is a handle to the internal metadata representation of a method.
public value class RuntimeMethodHandle
public value class RuntimeMethodHandle : System::Runtime::Serialization::ISerializable
public struct RuntimeMethodHandle
public struct 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
type RuntimeMethodHandle = struct
type RuntimeMethodHandle = struct
interface ISerializable
[<System.Serializable>]
type RuntimeMethodHandle = struct
interface ISerializable
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type RuntimeMethodHandle = struct
interface ISerializable
Public Structure RuntimeMethodHandle
Public Structure RuntimeMethodHandle
Implements ISerializable
- 继承
- 属性
- 实现
属性
| Value |
获得此实例的值。Gets the value of this instance. |
方法
| Equals(Object) |
指示此实例是否与指定对象相等。Indicates whether this instance is equal to a specified object. |
| Equals(RuntimeMethodHandle) |
指示此实例是否与指定的 RuntimeMethodHandle 相等。Indicates whether this instance is equal to a specified RuntimeMethodHandle. |
| GetFunctionPointer() |
获取指向此实例所表示方法的指针。Obtains a pointer to the method represented by this instance. |
| GetHashCode() |
返回此实例的哈希代码。Returns the hash code for this instance. |
| GetObjectData(SerializationInfo, StreamingContext) |
用反序列化此实例所表示的字段所必需的数据填充 SerializationInfo。Populates a SerializationInfo with the data necessary to deserialize the field represented by this instance. |
运算符
| Equality(RuntimeMethodHandle, RuntimeMethodHandle) |
指示两个 RuntimeMethodHandle 实例是否相等。Indicates whether two instances of RuntimeMethodHandle are equal. |
| Inequality(RuntimeMethodHandle, RuntimeMethodHandle) |
指示两个 RuntimeMethodHandle 实例是否不相等。Indicates whether two instances of RuntimeMethodHandle are not equal. |