共用方式為


DateIntervalActivity.Units Property

Gets or sets a string value to specify the DateTime unit to be calculated in the interval.

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

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property Units As String
    Get
    Set
'Usage
Dim instance As DateIntervalActivity
Dim value As String

value = instance.Units

instance.Units = value
[ValidationOptionAttribute(ValidationOption.Required)]
public string Units { get; set; }

Property Value

Type: System.String
Returns String.

Remarks

Possible values are:

  • "minutes"

  • "hours"

  • "days"

See Also

Reference

DateIntervalActivity Class

DateIntervalActivity Members

Microsoft.SharePoint.WorkflowActions Namespace