MarshalAsAttribute Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the MarshalAsAttribute class.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodMarshalAsAttribute(Int16)

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

System_CAPS_pubmethodMarshalAsAttribute(UnmanagedType)

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

Return to top
Show: