InternalAttribute 类

定义

指示类型或成员应在元数据中标记为 SDK 或框架的内部,并且仅供系统组件使用。

public ref class InternalAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.ApiContract | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.RuntimeClass | System.AttributeTargets.Struct)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class InternalAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.ApiContract | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.RuntimeClass | System.AttributeTargets.Struct)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class InternalAttribute : Attribute
function InternalAttribute()
Public NotInheritable Class InternalAttribute
Inherits Attribute
继承
InternalAttribute
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.FoundationContract (在 v1.0 中引入)

构造函数

InternalAttribute()

创建并初始化 特性的新实例。

适用于

另请参阅