CryptoStream.SetLength(Int64) 方法

定義

設定目前資料流的長度。

public:
 override void SetLength(long value);
public override void SetLength (long value);
override this.SetLength : int64 -> unit
Public Overrides Sub SetLength (value As Long)

參數

value
Int64

想要的目前資料流長度 (單位為位元組)。

例外狀況

這個屬性的存在只為了支援從 Stream 的繼承,並且無法使用。

備註

這個屬性的存在只為了支援從 Stream 的繼承,並且無法使用。

適用於

另請參閱