Method WriteTo
WriteTo(StreamContainer)
Copies the contained data to another StreamContainer.
public virtual void WriteTo(StreamContainer streamContainer)
Parameters
streamContainer
StreamContainerThe stream container to copy to.
WriteTo(StreamContainer, long)
Copies the contained data to another StreamContainer.
public virtual void WriteTo(StreamContainer streamContainer, long length)
Parameters
streamContainer
StreamContainerThe stream container to copy to.
length
longThe bytes count to write.
Exceptions
- FrameworkException
Copy operation cannot complete. Cannot read + count + bytes.