다음을 통해 공유


AliasAttribute 클래스

정의

형식 또는 메서드에 적용되는 경우 는 해당 형식 또는 메서드를 식별하는 데 사용할 수 있는 잘 알려진 이름을 지정합니다.

[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)]
public sealed class AliasAttribute : 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
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Struct)>]
type AliasAttribute = class
    inherit Attribute
Public NotInheritable Class AliasAttribute
Inherits Attribute
상속
AliasAttribute
특성

설명

형식의 경우 별칭은 전역적으로 고유해야 합니다. 메서드의 경우 별칭은 선언 형식에 고유해야 합니다.

생성자

Name Description
AliasAttribute(String)

AliasAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

Name Description
Alias

별칭을 가져옵니다.

적용 대상

추가 정보