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

Clases base
Any Attribute FieldOffsetAttribute

Constructores

new(i32 offset)
#

Campos

i32 Offset
#

Bytes from the start of the value.

Miembros heredados (5)

Código fuente

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

System.Runtime.InteropServices.FieldOffsetAttribute.ant
// 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;
			}
	}
}
Esc