Lucene.Net.Store.DataInput.Clone C# (CSharp) Method

Clone() public method

Returns a clone of this stream.

Clones of a stream access the same data, and are positioned at the same point as the stream they were cloned from.

Expert: Subclasses must ensure that clones may be positioned at different points in the input from each other and from the stream they were cloned from.

public Clone ( ) : object
return object
        public virtual object Clone()
        {
            DataInput clone = null;
            try
            {
                clone = (DataInput)base.MemberwiseClone();
            }
            catch (Exception)
            {
            }

            return clone;
        }