MetadataMarshalAttribute Clase

Definición

Indica que las herramientas deben crear una entrada para una interfaz al crear un paquete de aplicación.

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
Herencia
MetadataMarshalAttribute
Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 (se introdujo en la versión 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (se introdujo en la versión v1.0)

Constructores

MetadataMarshalAttribute()

Crea e inicializa una nueva instancia del atributo .

Se aplica a

Consulte también