Mono Class Library: System.Runtime.InteropServices.MarshalAsAttribute Overview | Members

System.Runtime.InteropServices.MarshalAsAttribute.SizeConst Field

A int that specifies the size, in bytes, of the constant size array being marshaled.

public int SizeConst

Remarks

This field is used only with the UnmanagedType.ByValArray or UnmanagedType.LPArray enumeration value. When using either of these unmanaged types, either this field or MarshalAsAttribute.SizeParamIndex is required.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0