PipeStream.Length 属性

定义

获取流长度(以字节为单位)。Gets the length of a stream, in bytes.

public:
 virtual property long Length { long get(); };
public override long Length { get; }
member this.Length : int64
Public Overrides ReadOnly Property Length As Long

属性值

在所有情况下均为 0。0 in all cases.

异常

始终引发。Always thrown.

注解

PipeStream 类不支持 Length 属性。The PipeStream class does not support the Length property.

适用于