The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
MemoryMappedViewStream::SetLength Method (Int64)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Sets the length of the current stream.
Assembly: System.Core (in System.Core.dll)
Parameters
- value
-
Type:
System::Int64
The desired length of the current stream in bytes.
| Exception | Condition |
|---|---|
| NotSupportedException | This method is not supported. |
This method is internal only, because a stream that represents a view is not considered to have a length.
.NET Framework
Available since 4.0
Available since 4.0
Show: