Share via


PublishingScheduleControl.UseAsEndDate property

Gets and sets whether this control should be used to edit a ScheduledItem.EndDate object. (It can also be used to edit a ScheduledItem.StartDate object.)

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

Syntax

'Declaration
Public Property UseAsEndDate As Boolean
    Get
    Set
'Usage
Dim instance As PublishingScheduleControl
Dim value As Boolean

value = instance.UseAsEndDate

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

Property value

Type: System.Boolean

Remarks

This property can also be used to edit a ScheduledItem.StartDate object.

See also

Reference

PublishingScheduleControl class

PublishingScheduleControl members

Microsoft.SharePoint.Publishing.WebControls namespace