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 クラスの新しいインスタンスを初期化します。

フィールド

Name

テンプレートに使用される名前付きパーツの型を識別するためにクラス定義に適用される属性を表します。

Type

テンプレートに使用される名前付きパーツの型を識別するためにクラス定義に適用される属性を表します。

適用対象

こちらもご覧ください