共用方式為


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

取得別名元件。

適用於

另請參閱