Share via


SetTimeField.Hour property

Gets or sets the hour portion of the current item’s time field. This property must be a value between 0 and 23.

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

Syntax

'Declaration
<RequiredArgumentAttribute> _
Public Property Hour As InArgument(Of Integer)
    Get
    Set
'Usage
Dim instance As SetTimeField
Dim value As InArgument(Of Integer)

value = instance.Hour

instance.Hour = value
[RequiredArgumentAttribute]
public InArgument<int> Hour { get; set; }

Property value

Type: System.Activities.InArgument<Int32>
The hour portion of the item’s time field.

See also

Reference

SetTimeField class

SetTimeField members

Microsoft.SharePoint.WorkflowServices.Activities namespace