Indicates whether this field has the NotSerialized attribute.
[Visual Basic] Public ReadOnly Property IsNotSerialized As Boolean [C#] public bool IsNotSerialized {get;} [C++] public: __property bool get_IsNotSerialized(); [JScript] public function get IsNotSerialized() : Boolean;
Read-only. true if the field has the NotSerialized attribute set; otherwise, false.
The IsNotSerialized property is set when the FieldAttributes.NotSerialized attribute is set. The presence of the NonSerialized attribute on a field or property indicates that that field or property should not be serialized.
FieldInfo Class | FieldInfo Members | System.Reflection Namespace | FieldAttributes