SPContext.IsRemoteAuthoringTime 属性

获取一个值,该值代表是否将当前请求呈现为设计时。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property IsRemoteAuthoringTime As Boolean
    Get
用法
Dim instance As SPContext
Dim value As Boolean

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

属性值

类型:System.Boolean
如果Current请求呈现为设计时,则返回的trueBoolean值。

备注

当在设计时配置运行该 web 请求时,某些 Web 服务器控件需要序列化和反序列化以不同的方式。

另请参阅

引用

SPContext 类

SPContext 成员

Microsoft.SharePoint 命名空间

ControlPersister

IDesignerHost

IDataSource