MarshalingType MarshalingType MarshalingType MarshalingType Enum


Specifies the marshaling type for the class.

public : enum class MarshalingType
public enum MarshalingType
Public Enum MarshalingType
var value = Windows.Foundation.Metadata.MarshalingType.agile;
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)


Agile Agile Agile Agile

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

InvalidMarshaling InvalidMarshaling InvalidMarshaling InvalidMarshaling

The class can't be marshaled.

None None None None

The class prevents marshaling on all interfaces.

Standard Standard Standard Standard

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