PreserveAttribute 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
Please use [System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute]
이전 Android 링커가 유지해야 하는 코드를 식별합니다. 이 특성은 사용되지 않습니다. 주석이 추가된 멤버는 여전히 잘립니다. DynamicDependencyAttribute를 대신 사용하세요.
[System.AttributeUsage(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.Property | System.AttributeTargets.Struct)]
[System.Obsolete("Please use [System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute]")]
public sealed class PreserveAttribute : Attribute
[<System.AttributeUsage(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.Property | System.AttributeTargets.Struct)>]
[<System.Obsolete("Please use [System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute]")>]
type PreserveAttribute = class
inherit Attribute
- 상속
-
PreserveAttribute
- 특성
생성자
| 속성 | Description |
|---|---|
| PreserveAttribute() |
사용되지 않음.
이 사용되지 않는 특성의 새 인스턴스를 초기화합니다. |
필드
| 속성 | Description |
|---|---|
| AllMembers |
사용되지 않음.
형식에서 |
| Conditional |
사용되지 않음.
메서드에서 설정 |