Share via


WsDuration Members

The following tables list the members exposed by the WsDuration type.

Public Constructors

Name Description
Public Method WsDuration Overloaded. Creates a WsDurationobject.

Public Fields

Name Description
Public Field Ticks Gets a long value expressing the duration as a number of ticks (millionths of a second).

Public Properties

Name Description
Public Property DurationInSeconds Gets or sets the number of seconds this duration object represents.
Public Property DurationString Gets a string containing a formatted string representing the number of seconds this duration object represents, or sets the number of seconds using a formatted string.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString Returns a numeric string representing the number of seconds in the specified duration.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

WsDuration Class
Ws.Services.Utilities Namespace