Gets the System.Runtime.InteropServices.UnmanagedType value the data is to be marshaled as.
The System.Runtime.InteropServices.UnmanagedType value indicating how the data is to be marshaled.
This value is used with System.Runtime.InteropServices.MarshalAsAttribute to indicate how types should be marshaled between managed and unmanaged code. In some cases, you can use this field with certain UnmanagedType enumeration members. For UnmanagedType.CustomMarshaler and UnmanagedType.ByValArray, you must use additional named parameters.