Sets the length of the Stream. This method always throws a NotSupportedException.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overrides Sub SetLength( _
ByVal value As Long _
) |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SegmentedStream
Dim value As Long
instance.SetLength(value) |
| C# | |
|---|
public override void SetLength(
long value
) |
| Managed Extensions for C++ | |
|---|
public: void SetLength(
long value
) override |
| C++/CLI | |
|---|
public:
void SetLength(
int64 value
) override |
Parameters
- value
- The desired length of the current stream in bytes.
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also