Aracılığıyla paylaş


XrmTimeSpan Constructors

Definition

Initializes a new instance of the XrmTimeSpan class.

Overloads

XrmTimeSpan(TimeSpan)

Initializes a new instance of the CrmTimeSpan class setting the time span.

XrmTimeSpan(Int32, Int32, Int32)

Initializes a new instance of the XrmTimeSpan class setting the days, hours and minutes.

XrmTimeSpan(Int32, Int32, Int32, Int32, Int32)

Initializes a new instance of the XrmTimeSpan class setting the years, months, days, hours and minutes.

XrmTimeSpan(TimeSpan)

Initializes a new instance of the CrmTimeSpan class setting the time span.

public:
 XrmTimeSpan(TimeSpan value);
public XrmTimeSpan (TimeSpan value);
new Microsoft.Xrm.Sdk.Workflow.XrmTimeSpan : TimeSpan -> Microsoft.Xrm.Sdk.Workflow.XrmTimeSpan
Public Sub New (value As TimeSpan)

Parameters

value
TimeSpan

Specifies the time span.

Applies to

XrmTimeSpan(Int32, Int32, Int32)

Initializes a new instance of the XrmTimeSpan class setting the days, hours and minutes.

public:
 XrmTimeSpan(int days, int hours, int minutes);
public XrmTimeSpan (int days, int hours, int minutes);
new Microsoft.Xrm.Sdk.Workflow.XrmTimeSpan : int * int * int -> Microsoft.Xrm.Sdk.Workflow.XrmTimeSpan
Public Sub New (days As Integer, hours As Integer, minutes As Integer)

Parameters

days
Int32

Specifies the days for the time span.

hours
Int32

Specifies the hours for the time span.

minutes
Int32

Specifies the minutes for the time span.

Applies to

XrmTimeSpan(Int32, Int32, Int32, Int32, Int32)

Initializes a new instance of the XrmTimeSpan class setting the years, months, days, hours and minutes.

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 Microsoft.Xrm.Sdk.Workflow.XrmTimeSpan : int * int * int * int * int -> Microsoft.Xrm.Sdk.Workflow.XrmTimeSpan
Public Sub New (years As Integer, months As Integer, days As Integer, hours As Integer, minutes As Integer)

Parameters

years
Int32

Specifies the years for the time span.

months
Int32

Specifies the months for the time span.

days
Int32

Specifies the days for the time span.

hours
Int32

Specifies the hours for the time span.

minutes
Int32

Specifies the minutes for the time span.

Applies to