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

value

Glossary Item Box

When overridden in a derived class, sets the length of the current stream.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub SetLength( _
   ByVal value As Long _
) 
C# 
public override void SetLength( 
   long value
)

Parameters

value

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 SetLength

Source Code

Library/IO/BaseStream.cs

Generated with Document! X 2011 by Innovasys