Share via


MetadataMarshalAttribute Classe

Definição

Indica que as ferramentas devem criar uma entrada para uma interface ao criar um pacote de aplicativos.

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
Herança
MetadataMarshalAttribute
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduzida na v1.0)

Construtores

MetadataMarshalAttribute()

Cria e inicializa uma nova instância do atributo .

Aplica-se a

Confira também