Export (0) Print
Expand All

OptionalFieldAttribute Members

Specifies that a field can be missing from a serialization stream so that the BinaryFormatter and the SoapFormatter does not throw an exception.

The following tables list the members exposed by the OptionalFieldAttribute type.

  Name Description
Public method OptionalFieldAttribute Initializes a new instance of the OptionalFieldAttribute class.
Top

  Name Description
Public property TypeId  When implemented in a derived class, gets a unique identifier for this Attribute.(Inherited from Attribute.)
Public property VersionAdded This property is reserved.
Top

  Name Description
Public method Equals  Overloaded. (Inherited from Attribute.)
Public method Static GetCustomAttribute  Overloaded. Retrieves a custom attribute of a specified type applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method Static GetCustomAttributes  Overloaded. Retrieves an array of the custom attributes applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method GetHashCode  Returns the hash code for this instance. (Inherited from Attribute.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IsDefaultAttribute  When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
Public method Static IsDefined  Overloaded. Determines whether any custom attributes of a specified type are applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method Match  When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft