MarshalingType enumeration

MarshalingType enumeration

Specifies the marshaling type for the class.

Syntax


var value = Windows.Foundation.Metadata.MarshalingType.none;

Members

The MarshalingType enumeration has these members.

MemberValueDescription
None | none1

The class prevents marshaling on all interfaces.

Agile | agile2

The class marshals and unmarshals to the same pointer value on all interfaces.

Standard | standard3

The class does not implement IMarshal or forwards to CoGetStandardMarshal on all interfaces.

InvalidMarshaling | invalidMarshaling0

The class can't be marshaled.

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

[Version(0x06020000)]

See also

MarshalingBehaviorAttribute.MarshalingBehaviorAttribute

 

 

Show:
© 2016 Microsoft