StreamExtensionsCopyTo Method |
Byte wise copy of a stream.
Namespace:
Ptv.XServer.Controls.Map.Tools
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public static Stream CopyTo(
this Stream src,
Stream destinationStream
)
<ExtensionAttribute>
Public Shared Function CopyTo (
src As Stream,
destinationStream As Stream
) As Stream
public:
[ExtensionAttribute]
static Stream^ CopyTo(
Stream^ src,
Stream^ destinationStream
)
[<ExtensionAttribute>]
static member CopyTo :
src : Stream *
destinationStream : Stream -> Stream
Parameters
- src
- Type: System.IOStream
Source stream. - destinationStream
- Type: System.IOStream
Destination stream.
Return Value
Type:
StreamDestination stream.
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