StreamContainer.WriteTo

WriteTo(StreamContainer)

Copies the contained data to another StreamContainer.

public virtual void WriteTo(StreamContainer streamContainer)
ParameterTypeDescription
streamContainerStreamContainerThe stream container to copy to.

See Also


WriteTo(StreamContainer, long)

Copies the contained data to another StreamContainer.

public virtual void WriteTo(StreamContainer streamContainer, long length)
ParameterTypeDescription
streamContainerStreamContainerThe stream container to copy to.
lengthInt64The bytes count to write.

Exceptions

exceptioncondition
FrameworkExceptionCopy operation cannot complete. Cannot read + count + bytes.

See Also