Version

WebScheduleInfo Property (ScheduleDataBinding)

Stores an instance of the WebScheduleInfo element associated with the parent WebScheduleDataProviderBase.
Syntax
'Declaration
 
Public ReadOnly Property WebScheduleInfo As WebScheduleInfo
public WebScheduleInfo WebScheduleInfo {get;}

Property Value

The WebScheduleInfo element reference retained by this ScheduleDataBinding subclass' parent data provider, or null (Nothing in Visual Basic .NET) if no WebScheduleInfo has been assigned to the parent data provider, yet.
Remarks

When inheritors implement the CreateInstance factory method, they may need to set a WebScheduleInfo on certain objects. The most common reason for setting a WebScheduleInfo on an object is because one or more of it's properties derive their default value(s) from a property defined on the WebScheduleInfo object (example: the default time interval for a reminder before an activity falls due). Failing to initialize new objects with properties dependent on the presence of WebScheduleInfo may produce errors when data binding such as "Object reference not set to an instance of an object."

The WebScheduleDataProviderBase class initializes the WebScheduleInfo on or before the Load event in the ASP.NET page lifecycle.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also