共用方式為


SPFileSaveBinaryParameters.RequireWebFilePermissions property

取得或設定布林值變數,指出是否新增的 web 檔案需要新增及自訂網頁的權限。

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

Syntax

'宣告
Public Property RequireWebFilePermissions As Boolean
    Get
    Set
'用途
Dim instance As SPFileSaveBinaryParameters
Dim value As Boolean

value = instance.RequireWebFilePermissions

instance.RequireWebFilePermissions = value
public bool RequireWebFilePermissions { get; set; }

Property value

Type: System.Boolean
true來指示新增 Web 檔案需要 [新增及自訂網頁的權限 ;否則, false。預設值是true。

請參閱

參照

SPFileSaveBinaryParameters class

SPFileSaveBinaryParameters members

Microsoft.SharePoint namespace