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

System.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex Field

A short that identifies the position (starting with zero) of the method argument that identifies the size of the array being marshaled.

public short SizeParamIndex

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.SizeConst is required.

Requirements

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