CSharpTest.Net
SetLength Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.IO Namespace > ClampedStream 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.NotSupportedExceptionThrown when length != long.MaxValue

Requirements

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

See Also

Reference

ClampedStream Class
ClampedStream Members
Base Implementation in SetLength

Source Code

Library/IO/ClampedStream.cs

Generated with Document! X 2011 by Innovasys