SPContext.IsRemoteAuthoringTime Property

Gets a value that represents whether the current request renders for design time.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property IsRemoteAuthoringTime As Boolean
    Get
'Usage
Dim instance As SPContext
Dim value As Boolean

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

Property Value

Type: System.Boolean
Returns a Boolean value of true if the Current request is rendering for design time.

Remarks

When the web request is operating in a design-time configuration, some Web server controls need to be serialized and deserialized differently.

See Also

Reference

SPContext Class

SPContext Members

Microsoft.SharePoint Namespace

ControlPersister

IDesignerHost

IDataSource