ISerializable

ISerializable

System.Runtime.Serialization (mscorlib.dll) interface

Indicates that an object is serializable and provides serialization information to the formatter. This interface defines GetObjectData( ) , which specifies the member information that will be provided to a SerializationInfo instance in a specific StreamingContext . Classes that implement ISerializable must also provide a constructor that takes the same arguments as GetObjectData( ) . The constructor must use those arguments to deserialize an instance of the class.

 public interface  ISerializable  {  // Public Instance Methods  public void  GetObjectData  (SerializationInfo   info   , StreamingContext   context   ); } 

Implemented By

Multiple types



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net