NonPersistableAttribute Class

Definition

Represents a marker attribute for a field that indicates that it must not be persisted.

public ref class NonPersistableAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Field, AllowMultiple=false)]
public sealed class NonPersistableAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field, AllowMultiple=false)>]
type NonPersistableAttribute = class
    inherit Attribute
Public NotInheritable Class NonPersistableAttribute
Inherits Attribute
Inheritance
NonPersistableAttribute
Attributes

Constructors

NonPersistableAttribute()

Initializes a new instance of the NonPersistableAttribute class.

Applies to