XrmTimeSpan.CreateXrmTimeSpan Method (Int32, Int32, Int32, Int32, Int32)

 

Applies To: Dynamics CRM 2015

Creates an instance of a 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 static XrmTimeSpan CreateXrmTimeSpan(
    int years,
    int months,
    int days,
    int hours,
    int minutes
)
public:
static XrmTimeSpan CreateXrmTimeSpan(
    int years,
    int months,
    int days,
    int hours,
    int minutes
)
static member CreateXrmTimeSpan : 
        years:int *
        months:int *
        days:int *
        hours:int *
        minutes:int -> XrmTimeSpan
Public Shared Function CreateXrmTimeSpan (
    years As Integer,
    months As Integer,
    days As Integer,
    hours As Integer,
    minutes As Integer
) As XrmTimeSpan

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.Workflow.XrmTimeSpan

Type: XrmTimeSpan
The instance of a XrmTimeSpan class where the years, months, days, hours, and minutes are set.

See Also

CreateXrmTimeSpan Overload
XrmTimeSpan Structure
Microsoft.Xrm.Sdk.Workflow Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright