Skip to main content
MarshalingBehaviorAttribute attribute

Indicates the marshaling behavior of a Windows Runtime component.

Syntax


var marshalingBehaviorAttribute = new Windows.Foundation.Metadata.MarshalingBehaviorAttribute();

public sealed class MarshalingBehaviorAttribute : Attribute

Public NotInheritable Class MarshalingBehaviorAttribute
    Inherits Attribute

public ref class MarshalingBehaviorAttribute sealed : Attribute

Members

The MarshalingBehaviorAttribute attribute has these types of members:

Constructors

The MarshalingBehaviorAttribute attribute has these constructors.

ConstructorDescription
MarshalingBehaviorAttribute Creates and initializes a new instance of the attribute.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.winmd

Attributes

[ AttributeUsage(512)]
[ Version(0x6020000)]

See also

Object
Attribute