final attribute · System.Runtime.InteropServices
FieldOffsetAttribute
public final attribute FieldOffset
[FieldOffset(n)] on each field of a [ValueLayout(Layout.Explicit)] value: its place in bytes from the start.
- Tipo
- final attribute
- Espacio de nombres
- System.Runtime.InteropServices
- Ensamblado
- System.Core
- Acceso
- public, final
- Archivo fuente
Interop.ant
Herencia
Constructores
Campos
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
FieldOffsetAttribute en Antril, descompilado a partir de su Larva HIR.
// System.Runtime.InteropServices.FieldOffsetAttribute — System.Core (decompiled from Larva HIR)
into namespace System.Runtime.InteropServices
{
/// `[FieldOffset(n)]` on each field of a `[ValueLayout(Layout.Explicit)]` value: its place in bytes from the start.
public final attribute FieldOffset
{
public:
/// Bytes from the start of the value.
i32 Offset;
new(i32 offset)
{
Offset = offset;
}
}
}