MarshalingBehaviorAttribute MarshalingBehaviorAttribute MarshalingBehaviorAttribute MarshalingBehaviorAttribute Class

Indicates the marshaling behavior of a Windows Runtime component.

Syntax

Declaration

public sealed class MarshalingBehaviorAttributepublic sealed class MarshalingBehaviorAttributePublic NotInheritable Class MarshalingBehaviorAttribute

Constructors summary

Creates and initializes a new instance of the attribute.

Constructors

  • MarshalingBehaviorAttribute(Windows.Foundation.Metadata.MarshalingType)
    MarshalingBehaviorAttribute(Windows.Foundation.Metadata.MarshalingType)
    MarshalingBehaviorAttribute(Windows.Foundation.Metadata.MarshalingType)
    MarshalingBehaviorAttribute(Windows.Foundation.Metadata.MarshalingType)

    Creates and initializes a new instance of the attribute.

    public MarshalingBehaviorAttribute(Windows.Foundation.Metadata.MarshalingType behavior)public MarshalingBehaviorAttribute(Windows.Foundation.Metadata.MarshalingType behavior)Public Function MarshalingBehaviorAttribute(behavior As Windows.Foundation.Metadata.MarshalingType) As

    Parameters

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.FoundationContract (introduced v1)

Attributes

Windows.Foundation.Metadata.AttributeUsageAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Foundation.Metadata.dll