AliasAttribute クラス

定義

型またはメソッドに適用する場合は、その型またはメソッドを識別するために使用できる既知の名前を指定します。

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

注釈

型の場合、エイリアスはグローバルに一意である必要があります。 メソッドの場合、エイリアスは宣言する型に対して一意である必要があります。

コンストラクター

AliasAttribute(String)

AliasAttribute クラスの新しいインスタンスを初期化します。

プロパティ

Alias

エイリアスを取得します。

適用対象

こちらもご覧ください