SetLength メソッド
| 編集/提案 ソースを表示SetLength(Int64)
ストリームの大きさを変更します。
宣言
public override void SetLength(long value)
引数
| 型 | 名前 | 説明 |
|---|---|---|
| System.Int64 | value | 新しいストリーム長です。 |
上書き
System.IO.Stream.SetLength(System.Int64)
例外
| 型 | 条件 |
|---|---|
| System.ObjectDisposedException | |
| System.OutOfMemoryException | |
| System.OverflowException |
SetLength(Int32)
ストリームの大きさを変更します。
宣言
public void SetLength(int value)
引数
| 型 | 名前 | 説明 |
|---|---|---|
| System.Int32 | value | 新しいストリーム長です。 |
例外
| 型 | 条件 |
|---|---|
| System.ObjectDisposedException | |
| System.OutOfMemoryException |