XrmTimeSpan Constructor (Int32, Int32, Int32, Int32, Int32)
Applies To: Dynamics CRM 2015
Initializes a new instance of the XrmTimeSpan class setting the years, months, days, hours and minutes.
Namespace: Microsoft.Xrm.Sdk.Workflow
Assembly: Microsoft.Xrm.Sdk.Workflow (in Microsoft.Xrm.Sdk.Workflow.dll)
Syntax
public XrmTimeSpan(
int years,
int months,
int days,
int hours,
int minutes
)
public:
XrmTimeSpan(
int years,
int months,
int days,
int hours,
int minutes
)
new :
years:int *
months:int *
days:int *
hours:int *
minutes:int -> XrmTimeSpan
Public Sub New (
years As Integer,
months As Integer,
days As Integer,
hours As Integer,
minutes As Integer
)
Parameters
years
Type: System.Int32Type: Int32. Specifies the years for the time span.
months
Type: System.Int32Type: Int32. Specifies the months for the time span.
days
Type: System.Int32Type: Int32. Specifies the days for the time span.
hours
Type: System.Int32Type: Int32. Specifies the hours for the time span.
minutes
Type: System.Int32Type: Int32. Specifies the minutes for the time span.
See Also
XrmTimeSpan Overload
XrmTimeSpan Structure
Microsoft.Xrm.Sdk.Workflow Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright