WriteTo

StreamContainer.WriteTo method (1 of 2)

Copies the contained data to another StreamContainer.

public virtual void WriteTo(StreamContainer streamContainer)
Parameter Type Description
streamContainer StreamContainer The stream container to copy to.

See Also


StreamContainer.WriteTo method (2 of 2)

Copies the contained data to another StreamContainer.

public virtual void WriteTo(StreamContainer streamContainer, long length)
Parameter Type Description
streamContainer StreamContainer The stream container to copy to.
length Int64 The bytes count to write.

Exceptions

exception condition
FrameworkException Copy operation cannot complete. Cannot read + count + bytes.

See Also