TemplatePartAttribute 클래스

정의

템플릿에 사용되는 명명된 파트의 형식을 식별하기 위해 클래스 정의에 적용되는 특성을 나타냅니다.

/// [Windows.Foundation.Metadata.AllowMultiple]
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class TemplatePartAttribute final : Attribute
/// [Windows.Foundation.Metadata.AllowMultiple]
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.AttributeName("templatepart")]
class TemplatePartAttribute final : Attribute
[Windows.Foundation.Metadata.AllowMultiple]
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class TemplatePartAttribute : Attribute
[Windows.Foundation.Metadata.AllowMultiple]
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.AttributeName("templatepart")]
public sealed class TemplatePartAttribute : Attribute
Public NotInheritable Class TemplatePartAttribute
Inherits Attribute
상속
TemplatePartAttribute
특성

Windows 요구 사항

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

생성자

TemplatePartAttribute()

TemplatePartAttribute 클래스의 새 instance 초기화합니다.

필드

Name

템플릿에 사용되는 명명된 파트의 형식을 식별하기 위해 클래스 정의에 적용되는 특성을 나타냅니다.

Type

템플릿에 사용되는 명명된 파트의 형식을 식별하기 위해 클래스 정의에 적용되는 특성을 나타냅니다.

적용 대상

추가 정보