Edit

Share via


MarshalUsingAttribute Constructors

Definition

Overloads

MarshalUsingAttribute()

Initializes a new instance of MarshalUsingAttribute that provides only size information.

MarshalUsingAttribute(Type)

Initializes a new instance of MarshalUsingAttribute that provides a native marshalling type and optionally size information.

MarshalUsingAttribute()

Source:
MarshalUsingAttribute.cs
Source:
MarshalUsingAttribute.cs
Source:
MarshalUsingAttribute.cs

Initializes a new instance of MarshalUsingAttribute that provides only size information.

public:
 MarshalUsingAttribute();
public MarshalUsingAttribute ();
Public Sub New ()

Applies to

MarshalUsingAttribute(Type)

Source:
MarshalUsingAttribute.cs
Source:
MarshalUsingAttribute.cs
Source:
MarshalUsingAttribute.cs

Initializes a new instance of MarshalUsingAttribute that provides a native marshalling type and optionally size information.

public:
 MarshalUsingAttribute(Type ^ nativeType);
public MarshalUsingAttribute (Type nativeType);
new System.Runtime.InteropServices.Marshalling.MarshalUsingAttribute : Type -> System.Runtime.InteropServices.Marshalling.MarshalUsingAttribute
Public Sub New (nativeType As Type)

Parameters

nativeType
Type

The marshaller type used to convert the attributed type from managed to native code.

Applies to