Class FieldInfoTimeSpan
Timespan custom database field. Number of minutes, represented as days/hours/minutes.
Carrier object for FieldInfoTimeSpan. Services for the FieldInfoTimeSpan Carrier is available from the UserDefinedFieldInfo Agent.Inherited Members
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class FieldInfoTimeSpan : FieldInfoBase
Constructors
FieldInfoTimeSpan()
Default constructor
Declaration
public FieldInfoTimeSpan()
See Also
Properties
DefaultValue
Default Timespan value - number of minutes.
Declaration
[DataMember]
public virtual int DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
MaxNum
Maximum number for the largest unit in the time-span
Declaration
[DataMember]
public virtual int MaxNum { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
UseDays
Should the time-span be counted in days?
Declaration
[DataMember]
public virtual bool UseDays { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
UseHours
Should the time-span be counted in hours?
Declaration
[DataMember]
public virtual bool UseHours { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
UseMinutes
Should the time-span be counted in minutes?
Declaration
[DataMember]
public virtual bool UseMinutes { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The carrier contents. |
Overrides
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public override string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
string | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
string | The carrier contents. |