class · System.Runtime.InteropServices

FieldOffsetAttribute

public class System.Runtime.InteropServices.FieldOffsetAttribute : System.Attribute

[FieldOffset(n)] on each field of a [ValueLayout(Layout.Explicit)] value: its place in bytes from the start.

Tipo
class
Espacio de nombres
System.Runtime.InteropServices
Ensamblado
System.Core
Acceso
public, final
Archivo fuente
Interop.ant

Herencia

Clases base
Any Attribute FieldOffsetAttribute

Constructores

constructor FieldOffsetAttribute(offset: i32)
#

Campos

field Offset: i32
#

Bytes from the start of the value.

Miembros heredados (5)

Código fuente

FieldOffsetAttribute en Larva HIR, descompilado a partir de su Larva HIR.

System.Runtime.InteropServices.FieldOffsetAttribute.hir
// `[FieldOffset(n)]` on each field of a `[ValueLayout(Layout.Explicit)]` value: its place in bytes from the start.
public class System.Runtime.InteropServices.FieldOffsetAttribute : System.Attribute
{
    // Bytes from the start of the value.
    field Offset: i32
    constructor FieldOffsetAttribute(offset: i32)
}
Esc