Modifier

Partager via


ObjectMarshal Class

Definition

Helpers for working with Object instances.

public static class ObjectMarshal
type ObjectMarshal = class
Public Module ObjectMarshal
Inheritance
ObjectMarshal

Methods

DangerousGetObjectDataByteOffset<T>(Object, T)

Calculates the byte offset to a specific field within a given Object.

DangerousGetObjectDataReferenceAt<T>(Object, IntPtr)

Gets a T reference to data within a given Object at a specified offset.

DangerousUnbox<T>(Object)

Unboxes a T value from an input Object instance.

TryUnbox<T>(Object, T)

Tries to get a boxed T value from an input Object instance.

Applies to