Method SerializeSerialize(object, Stream)Declaration public void Serialize(object obj, Stream stream) Parameters Type Name Description object obj Stream stream