Partager via


XrmTimeSpan.CreateXrmTimeSpan Method (XrmTimeSpan)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Creates an instance of a XrmTimeSpan class setting the time span members.

Namespace:   Microsoft.Xrm.Sdk.Workflow
Assembly:  Microsoft.Xrm.Sdk.Workflow (in Microsoft.Xrm.Sdk.Workflow.dll)

Syntax

public static XrmTimeSpan CreateXrmTimeSpan(
    XrmTimeSpan cts
)
Public Shared Function CreateXrmTimeSpan (
    cts As XrmTimeSpan
) As XrmTimeSpan

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.Workflow.XrmTimeSpan

Type: XrmTimeSpan
The instance of a XrmTimeSpan class where the time span members are set.

See Also

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright