Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
struct System.​RuntimeFieldHandle
Assembly: System.Runtime
Represents a field using an internal metadata token.
Properties
public
nint
Value
Gets a handle to the field represented by the current instance.
Methods
public
bool
Equals​(object obj)
obj
The object to compare to the current instance.
Returns <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.RuntimeFieldHandle" /> and equal to the value of the current instance; otherwise, <see langword="false" /> .
Indicates whether the current instance is equal to the specified object.
public
bool
Equals​(RuntimeFieldHandle handle)
handle
The <see cref="T:System.RuntimeFieldHandle" /> to compare to the current instance.
Returns <see langword="true" /> if the value of <paramref name="handle" /> is equal to the value of the current instance; otherwise, <see langword="false" /> .
Indicates whether the current instance is equal to the specified <see cref="T:System.RuntimeFieldHandle" /> .
public
int
GetHashCode​() Returns A 32-bit signed integer that is the hash code for this instance.
Returns the hash code for this instance.
public
void
GetObjectData​(SerializationInfo info,
StreamingContext context)
info
The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object to populate with serialization information.
context
(Reserved) The place to store and retrieve serialized data.
Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data necessary to deserialize the field represented by the current instance.
public
string
ToString​()
Inherited from ValueType
Returns The fully qualified type name.
Returns the fully qualified type name of this instance.
protected
void
Finalize​()
Inherited from object
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
public
Type
GetType​()
Inherited from object
Returns The exact runtime type of the current instance.
Gets the <see cref="T:System.Type" /> of the current instance.
protected
object
MemberwiseClone​()
Inherited from object
Returns A shallow copy of the current <see cref="T:System.Object" /> .
Creates a shallow copy of the current <see cref="T:System.Object" /> .