ExperimentalAttribute 클래스

정의

API가 실험적이며 나중에 변경될 수 있음을 나타냅니다.

public ref class ExperimentalAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, Inherited=false)]
public sealed class ExperimentalAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, Inherited=false)>]
type ExperimentalAttribute = class
    inherit Attribute
Public NotInheritable Class ExperimentalAttribute
Inherits Attribute
상속
ExperimentalAttribute
특성

설명

ExperimentalAttribute 를 사용하면 실험적 기능이 사용됨을 나타내는 진단으로 호출 사이트에 플래그가 지정될 수 있습니다. 이 특성을 사용하여 안정적인 라이브러리에서 미리 보기 기능을 제공할 수 있습니다.

API를 미리 보기로 표시하는 방법에 대한 자세한 내용은 미리 보기 API를 참조하세요.

생성자

Name Description
ExperimentalAttribute(String)

특성이 적용되는 API 사용을 ExperimentalAttribute 보고할 때 컴파일러가 사용할 ID를 지정하여 클래스의 새 인스턴스를 초기화합니다.

속성

Name Description
DiagnosticId

특성이 적용되는 API 사용을 보고할 때 컴파일러가 사용할 ID를 가져옵니다.

Message

실험적 특성과 연결된 선택적 메시지를 가져오거나 설정합니다.

TypeId

파생 클래스에서 구현되는 경우 이 Attribute대한 고유 식별자를 가져옵니다.

(다음에서 상속됨 Attribute)
UrlFormat

해당 설명서의 URL을 가져오거나 설정합니다. API는 실제 URL 대신 형식 문자열을 허용하여 진단 ID를 포함하는 제네릭 URL을 만듭니다.

메서드

Name Description
Equals(Object)

이 인스턴스가 지정된 개체와 같은지 여부를 나타내는 값을 반환합니다.

(다음에서 상속됨 Attribute)
GetHashCode()

이 인스턴스의 해시 코드를 반환합니다.

(다음에서 상속됨 Attribute)
GetType()

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
IsDefaultAttribute()

파생 클래스에서 재정의되는 경우 이 인스턴스의 값이 파생 클래스의 기본값인지 여부를 나타냅니다.

(다음에서 상속됨 Attribute)
Match(Object)

파생 클래스에서 재정의되는 경우 이 인스턴스가 지정된 개체와 같은지 여부를 나타내는 값을 반환합니다.

(다음에서 상속됨 Attribute)
MemberwiseClone()

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상

추가 정보