CSharpTest.Net
Write Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.IO Namespace > BaseStream Class : Write Method

buffer
offset
count

Glossary Item Box

When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub Write( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
) 
C# 
public override void Write( 
   byte[] buffer,
   int offset,
   int count
)

Parameters

buffer
offset
count

Exceptions

ExceptionDescription
System.NotSupportedExceptionThe exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Reference

BaseStream Class
BaseStream Members
Base Implementation in Write

Source Code

Library/IO/BaseStream.cs

Generated with Document! X 2011 by Innovasys