Bagikan melalui


MetadataMarshalAttribute Kelas

Definisi

Menunjukkan bahwa alat harus membuat entri untuk antarmuka saat membuat paket aplikasi.

public ref class MetadataMarshalAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Delegate | System.AttributeTargets.Interface | System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class MetadataMarshalAttribute final : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Delegate | System.AttributeTargets.Interface | System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
/// [Windows.Foundation.Metadata.AttributeName("metadata_marshal")]
class MetadataMarshalAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Delegate | System.AttributeTargets.Interface | System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class MetadataMarshalAttribute : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Delegate | System.AttributeTargets.Interface | System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
[Windows.Foundation.Metadata.AttributeName("metadata_marshal")]
public sealed class MetadataMarshalAttribute : Attribute
function MetadataMarshalAttribute()
Public NotInheritable Class MetadataMarshalAttribute
Inherits Attribute
Warisan
MetadataMarshalAttribute
Atribut

Persyaratan Windows

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

Konstruktor

MetadataMarshalAttribute()

Membuat dan menginisialisasi instans baru atribut.

Berlaku untuk

Lihat juga