다음을 통해 공유


MetadataMarshalAttribute 클래스

정의

애플리케이션 패키지를 만들 때 도구가 인터페이스에 대한 항목을 만들어야 했음을 나타냅니다.

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
상속
MetadataMarshalAttribute
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.FoundationContract (v1.0에서 도입되었습니다.)

생성자

MetadataMarshalAttribute()

특성의 새 instance 만들고 초기화합니다.

적용 대상

추가 정보