Windows.Foundation.Metadata Namespace
Windows ランタイムの型およびメンバーの基本的なプロパティを示す属性を定義します。
メンバー
Windows.Foundation.Metadata名前空間 には次の種類のメンバーが含まれます:
属性
Windows.Foundation.Metadata名前空間 には次の属性があります。
| 属性 | 説明 |
|---|---|
| ActivatableAttribute | Indicates that the class is an activatable runtime class. |
| AllowMultipleAttribute | Indicates that multiple instances of a custom attribute can be applied to a target. |
| AttributeUsageAttribute | Specifies the use of another attribute. |
| ComposableAttribute | Indicates how a programming element is composed. |
| DefaultAttribute | Indicates the default interface for a runtime class. |
| DefaultOverloadAttribute | Indicates that a method is the default overload method. |
| DualApiPartitionAttribute | Indicates that the type is supported in desktop apps and in Windows Store apps. |
| ExclusiveToAttribute | Indicates that the specified type is exclusive to this type. |
| GCPressureAttribute | Microsoft internal use only. |
| GuidAttribute | Indicates the GUID for the interface or delegate. |
| HasVariantAttribute | Indicates that the type is an instance of a variant IInspectable. Applies to runtime classes, interfaces, and parameterized interfaces. |
| LengthIsAttribute | Indicates the number of array elements. |
| MarshalingBehaviorAttribute | Indicates the marshaling behavior of a Windows Runtime component. |
| MuseAttribute | Indicates that a runtime class is compatible with Windows Store app that are web browsers. |
| OverloadAttribute | Identifies the method as an overload in a language that supports overloading. |
| OverridableAttribute | Indicates that the interface contains overridable methods. |
| ProtectedAttribute | Indicates that the interface contains protected methods. |
| RangeAttribute | Indicates the numeric range constraints for the value of a data field. |
| StaticAttribute | Indicates that the type contains only static methods. |
| ThreadingAttribute | Indicates the threading model of a Windows Runtime component. |
| VariantAttribute | Indicates that the item is an instance of a variant IInspectable. Applies to method parameters, properties, and return values of types. |
| VersionAttribute | Indicates the version of the type. |
| WebHostHiddenAttribute | Identifies the type as one whose functionality is not projected into the specified target language. |
列挙
Windows.Foundation.Metadata名前空間 には次の列挙があります。
| 列挙 | 説明 |
|---|---|
| AttributeTargets | Specifies the programming construct to which an attribute applies. |
| CompositionType | Specifies the visibility of a programming element for which the composable attribute is applied. |
| GCPressureAmount | Microsoft internal use only. |
| MarshalingType | Specifies the marshaling type for the class. |
| ThreadingModel | Specifies the threading model. |
要件
|
サポートされている最小のクライアント | Windows 8 |
|---|---|
|
サポートされている最小のサーバー | Windows Server 2012 |
|
サポートされている最小の電話 | Windows Phone 8 |
|
名前空間 |
|
|
メタデータ |
|
|
DLL |
|
参照