共用方式為


SPContext.IsRemoteAuthoringTime property

取得值,這個值表示是否目前要求的設計階段呈現。

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

Syntax

'宣告
Public ReadOnly Property IsRemoteAuthoringTime As Boolean
    Get
'用途
Dim instance As SPContext
Dim value As Boolean

value = instance.IsRemoteAuthoringTime
public bool IsRemoteAuthoringTime { get; }

Property value

Type: System.Boolean
Boolean 如果傳回值的trueCurrent要求呈現的設計階段。

備註

當 web 要求在設計階段組態中操作時,某些 Web 伺服器控制項需要序列化和還原序列化,以不同的方式。

請參閱

參照

SPContext class

SPContext members

Microsoft.SharePoint namespace

ControlPersister

IDesignerHost

IDataSource