StreamExtensionCopyTo Method (Stream, Stream, Int32) |
Namespace: Ozeki.CommonAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static void CopyTo(
this Stream source,
Stream destination,
int bufferSize
)
<ExtensionAttribute>
Public Shared Sub CopyTo (
source As Stream,
destination As Stream,
bufferSize As Integer
)
public:
[ExtensionAttribute]
static void CopyTo(
Stream^ source,
Stream^ destination,
int bufferSize
)
[<ExtensionAttribute>]
static member CopyTo :
source : Stream *
destination : Stream *
bufferSize : int -> unit
Parameters
- source
- Type: System.IOStream
- destination
- Type: System.IOStream
- bufferSize
- Type: SystemInt32
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Stream. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also