MarshalingBehaviorAttribute MarshalingBehaviorAttribute MarshalingBehaviorAttribute MarshalingBehaviorAttribute Class

Definition

Indicates the marshaling behavior of a Windows Runtime component.

public : sealed class MarshalingBehaviorAttribute : Attribute
public sealed class MarshalingBehaviorAttribute : Attribute
Public NotInheritable Class MarshalingBehaviorAttribute Inherits Attribute
var marshalingBehaviorAttribute = new marshalingBehaviorAttribute(behavior);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Constructors

MarshalingBehaviorAttribute(MarshalingType) MarshalingBehaviorAttribute(MarshalingType) MarshalingBehaviorAttribute(MarshalingType) MarshalingBehaviorAttribute(MarshalingType)

Creates and initializes a new instance of the attribute.

public : MarshalingBehaviorAttribute(MarshalingType behavior)
public MarshalingBehaviorAttribute(MarshalingType behavior)
Public Sub New(behavior As MarshalingType)
var marshalingBehaviorAttribute = new marshalingBehaviorAttribute(behavior);
Parameters
behavior
MarshalingType MarshalingType MarshalingType MarshalingType

One of the enumeration values.

See Also