MarshalAsAttribute Constructor

MarshalAsAttribute Constructor

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the MarshalAsAttribute class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method MarshalAsAttribute(Int16) Initializes a new instance of the MarshalAsAttribute class with the specified UnmanagedType value.
Public method MarshalAsAttribute(UnmanagedType) Initializes a new instance of the MarshalAsAttribute class with the specified UnmanagedType enumeration member.
Top

Show:
© 2017 Microsoft