DotNetCompression Class Reference for Windows Phone
CopyToAsync(Stream,Int32) Method






Syntax
'Declaration
 
<System.Runtime.InteropServices.ComVisibleAttribute(False)>
<__DynamicallyInvokableAttribute()>
<System.Security.Permissions.HostProtectionAttribute(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=True)>
Public Overloads Function CopyToAsync( _
   ByVal destination As System.IO.Stream, _
   ByVal bufferSize As System.Integer _
) As System.Threading.Tasks.Task
'Usage
 
Dim instance As BZip2InputStream
Dim destination As System.IO.Stream
Dim bufferSize As System.Integer
Dim value As System.Threading.Tasks.Task
 
value = instance.CopyToAsync(destination, bufferSize)
[System.Runtime.InteropServices.ComVisible(false)]
[__DynamicallyInvokable()]
[System.Security.Permissions.HostProtection(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=true)]
public System.Threading.Tasks.Task CopyToAsync( 
   System.IO.Stream destination,
   System.int bufferSize
)
public function CopyToAsync( 
    destination: System.IO.Stream;
    bufferSize: System.Integer
): System.Threading.Tasks.Task; 
System.Runtime.InteropServices.ComVisibleAttribute()
__DynamicallyInvokableAttribute()
System.Security.Permissions.HostProtectionAttribute(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=)
public function CopyToAsync( 
   destination : System.IO.Stream,
   bufferSize : System.int
) : System.Threading.Tasks.Task;
[System.Runtime.InteropServices.ComVisible(false)]
[__DynamicallyInvokable()]
[System.Security.Permissions.HostProtection(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=true)]
public: System.Threading.Tasks.Task* CopyToAsync( 
   System.IO.Stream* destination,
   System.int bufferSize
) 
[System.Runtime.InteropServices.ComVisible(false)]
[__DynamicallyInvokable()]
[System.Security.Permissions.HostProtection(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=true)]
public:
System.Threading.Tasks.Task^ CopyToAsync( 
   System.IO.Stream^ destination,
   System.int bufferSize
) 

Parameters

destination
bufferSize
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BZip2InputStream Class
BZip2InputStream Members
Overload List

Send Feedback