Bagikan melalui


MarshalingBehaviorAttribute Kelas

Definisi

Menunjukkan perilaku marshaling komponen Windows Runtime.

public ref class MarshalingBehaviorAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class MarshalingBehaviorAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class MarshalingBehaviorAttribute : Attribute
function MarshalingBehaviorAttribute(behavior)
Public NotInheritable Class MarshalingBehaviorAttribute
Inherits Attribute
Warisan
MarshalingBehaviorAttribute
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (diperkenalkan dalam v1.0)

Konstruktor

MarshalingBehaviorAttribute(MarshalingType)

Membuat dan menginisialisasi instans baru atribut.

Berlaku untuk

Lihat juga