Язык

PreserveAttribute Класс

Определение

Внимание!

Please use [System.Diagnostics.CodeAnalysis.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
Атрибуты

Комментарии

Части этой страницы — это изменения на основе работы, созданной и общей Project и используемых в соответствии с условиями, описанными в разделе "".

Конструкторы

Имя Описание
PreserveAttribute()

Поля

Имя Описание
AllMembers
Conditional

Применяется к