XrmTimeSpan.CreateXrmTimeSpan Kaedah (Int32, Int32, Int32, Int32, Int32)

Creates an instance of a XrmTimeSpan class setting the years, months, days, hours and minutes.

Ruang nama: Microsoft.Xrm.Sdk.Workflow
Perhimpunan: Microsoft.Xrm.Sdk.Workflow (dalam Microsoft.Xrm.Sdk.Workflow.dll)

public static XrmTimeSpan CreateXrmTimeSpan (
	int years,
	int months,
	int days,
	int hours,
	int minutes



Type: Int32. Specifies the years for the time span.


Type: Int32. Specifies the months for the time span.


Type: Int32. Specifies the days for the time span.


Type: Int32. Specifies the hours for the time span.


Type: Int32. Specifies the minutes for the time span.

Nilai Pulangan

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

Sebarang ahli statik awam (Shared dalam Visual Basic) jenis ini adalah selamat rentetan. Dalam apa jua keadaan, ahli tidak dijamin selamat rentetan.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.