MarshalUsingAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.