This documentation is archived and is not being maintained.

MarshalAsAttribute Constructor

Initializes a new instance of the MarshalAsAttribute class.

Name Description
MarshalAsAttribute (Int16) Initializes a new instance of the MarshalAsAttribute class with the specified UnmanagedType value.

Supported by the .NET Compact Framework.

MarshalAsAttribute (UnmanagedType) Initializes a new instance of the MarshalAsAttribute class with the specified UnmanagedType enumeration member.

Supported by the .NET Compact Framework.

Show: