次の方法で共有


SPDailySchedule.EndHour property

Gets or sets the hour at which the schedule ends.

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

Syntax

'Declaration
Public Property EndHour As Integer
    Get
    Set
'Usage
Dim instance As SPDailySchedule
Dim value As Integer

value = instance.EndHour

instance.EndHour = value
public int EndHour { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the ending hour.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The property is set to a value less than 0 or greater than 23.

See also

Reference

SPDailySchedule class

SPDailySchedule members

Microsoft.SharePoint namespace