System.Runtime.InteropServices.UnmanagedType.ByValArray Field

When the MarshalAsAttribute.Value property is set to ByValArray, the MarshalAsAttribute.SizeConst field must be set to indicate the number of elements in the array. The MarshalAsAttribute.ArraySubType field can optionally contain the System.Runtime.InteropServices.UnmanagedType of the array elements when it is necessary to differentiate among string types. You can use this System.Runtime.InteropServices.UnmanagedType only on an array that whose elements appear as fields in a structure.

Value: ByValArray

Syntax

UnmanagedType ByValArray

Remarks

Documentation for this section has not yet been entered.

Requirements

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