CompoundTypeAliasAttribute 类

定义

应用于类型时,指示应将类型编码为来自指定类型的关系。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct)]
public sealed class CompoundTypeAliasAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct, AllowMultiple=true)]
public sealed class CompoundTypeAliasAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct)>]
type CompoundTypeAliasAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct, AllowMultiple=true)>]
type CompoundTypeAliasAttribute = class
    inherit Attribute
Public NotInheritable Class CompoundTypeAliasAttribute
Inherits Attribute
继承
CompoundTypeAliasAttribute
属性

构造函数

CompoundTypeAliasAttribute(Object[])

初始化 CompoundTypeAliasAttribute 类的新实例。

属性

Components

获取别名组件。

适用于

另请参阅