Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

RuntimeFieldHandle Struct

Definition

Namespace:
System
Assemblies:
mscorlib.dll, System.Runtime.dll
Assemblies:
netstandard.dll, System.Runtime.dll
Assembly:
System.Runtime.dll
Assembly:
mscorlib.dll
Assembly:
netstandard.dll
Source:
RuntimeHandles.cs
Source:
RuntimeHandles.cs
Source:
RuntimeHandles.cs
Source:
RuntimeHandles.cs
Source:
RuntimeHandles.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents a field using an internal metadata token.

public value class RuntimeFieldHandle
public value class RuntimeFieldHandle : IEquatable<RuntimeFieldHandle>, System::Runtime::Serialization::ISerializable
public value class RuntimeFieldHandle : System::Runtime::Serialization::ISerializable
public struct RuntimeFieldHandle
public struct RuntimeFieldHandle : IEquatable<RuntimeFieldHandle>, System.Runtime.Serialization.ISerializable
public struct RuntimeFieldHandle : System.Runtime.Serialization.ISerializable
[System.Serializable]
public struct RuntimeFieldHandle : System.Runtime.Serialization.ISerializable
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct RuntimeFieldHandle : System.Runtime.Serialization.ISerializable
type RuntimeFieldHandle = struct
type RuntimeFieldHandle = struct
 interface ISerializable
[<System.Serializable>]
type RuntimeFieldHandle = struct
 interface ISerializable
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type RuntimeFieldHandle = struct
 interface ISerializable
Public Structure RuntimeFieldHandle
Public Structure RuntimeFieldHandle
Implements IEquatable(Of RuntimeFieldHandle), ISerializable
Public Structure RuntimeFieldHandle
Implements ISerializable
Inheritance
RuntimeFieldHandle
Attributes
Implements

Remarks

The value of an instance of the RuntimeFieldHandle structure is a handle to the field represented by the instance.

Properties

Name Description
Value

Gets a handle to the field represented by the current instance.

Methods

Name Description
Equals(Object)

Indicates whether the current instance is equal to the specified object.

Equals(RuntimeFieldHandle)

Indicates whether the current instance is equal to the specified RuntimeFieldHandle.

FromIntPtr(IntPtr)

Returns a new RuntimeFieldHandle object created from a handle to a RuntimeFieldInfo.

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 the current instance.

ToIntPtr(RuntimeFieldHandle)

Returns the internal pointer representation of a RuntimeFieldHandle object.

Operators

Name Description
Equality(RuntimeFieldHandle, RuntimeFieldHandle)

Indicates whether two RuntimeFieldHandle structures are equal.

Inequality(RuntimeFieldHandle, RuntimeFieldHandle)

Indicates whether two RuntimeFieldHandle structures are not equal.

Applies to


Feedback

Was this page helpful?