共用方式為


SPFileStream.CanRead property

取得布林值,指出目前的資料流是否支援讀取。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Overrides ReadOnly Property CanRead As Boolean
    Get
'用途
Dim instance As SPFileStream
Dim value As Boolean

value = instance.CanRead
public override bool CanRead { get; }

Property value

Type: System.Boolean
true如果資料流支援讀取。false如果資料流已關閉或開啟具有唯寫存取權。

請參閱

參照

SPFileStream class

SPFileStream members

Microsoft.SharePoint namespace