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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for