UnmanagedMemoryStream.CanSeek 属性

定义

获取一个值,该值指示流是否支持查找。Gets a value indicating whether a stream supports seeking.

public:
 virtual property bool CanSeek { bool get(); };
public override bool CanSeek { get; }
member this.CanSeek : bool
Public Overrides ReadOnly Property CanSeek As Boolean

属性值

Boolean

如果流已关闭,则为 false;否则为 truefalse if the stream is closed; otherwise, true.

注解

此属性指示当前流对象是否支持查找。This property indicates whether the current stream object supports seeking.

适用于