共用方式為


SPFileStream.CanWrite property

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

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

Syntax

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

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

Property value

Type: System.Boolean
true如果資料流支援寫入。false如果資料流已關閉,或以唯讀存取所開啟。

請參閱

參照

SPFileStream class

SPFileStream members

Microsoft.SharePoint namespace