MarshalingBehaviorAttribute MarshalingBehaviorAttribute MarshalingBehaviorAttribute MarshalingBehaviorAttribute Class

Definition

Indicates the marshaling behavior of a Windows Runtime component.

public : sealed class MarshalingBehaviorAttribute : Attributepublic sealed class MarshalingBehaviorAttribute : AttributePublic NotInheritable Class MarshalingBehaviorAttribute Inherits Attribute// You can use this class in JavaScript.
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)// You can use this method in JavaScript.
Parameters
behavior
MarshalingType MarshalingType MarshalingType MarshalingType

One of the enumeration values.

See Also