Export (0) Print
Expand All

FieldInfo.IsNotSerialized Property

Gets a value that indicates whether this field has the NotSerialized attribute.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public bool IsNotSerialized { get; }

Property Value

Type: System.Boolean
true if the field has the NotSerialized attribute set; otherwise, false.

ExceptionCondition
MethodAccessException

This member is invoked late-bound through mechanisms such as Type.InvokeMember.

The IsNotSerialized property returns true when the field is marked with the NotSerialized flag. When this flag is set on a field, it indicates that the field does not have to be serialized when the type is remoted.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft