Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MarshalAsAttribute Constructor

.NET Framework 1.1

Initializes a new instance of the MarshalAsAttribute class.

Overload List

Initializes a new instance of the MarshalAsAttribute class with the specified UnmanagedType value.

[Visual Basic] Public Sub New(Short)
[C#] public MarshalAsAttribute(short);
[C++] public: MarshalAsAttribute(short);
[JScript] public function MarshalAsAttribute(Int16);

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

[Visual Basic] Public Sub New(UnmanagedType)
[C#] public MarshalAsAttribute(UnmanagedType);
[C++] public: MarshalAsAttribute(UnmanagedType);
[JScript] public function MarshalAsAttribute(UnmanagedType);

See Also

MarshalAsAttribute Class | MarshalAsAttribute Members | System.Runtime.InteropServices Namespace

Show:
© 2015 Microsoft