Duration MethodsDuration MethodsDuration Methods

The DurationDurationDuration type exposes the following members.

Methods

 MethodDescription
Public methodstaticAddAddAdd Adds two specified DurationDurationDuration values.
Public methodstaticDivideDivideDivide Divides the specified DurationDurationDuration value by a doubleDoubledouble value.
Public methodEquals (object)Equals (Object)Equals (object^) Determines whether this instance is equal to a specified object. (Overrides ValueType.EqualsValueType.EqualsValueType::Equals)
Public methodEquals (Duration)Equals (Duration)Equals (Duration) Indicates whether this instance is equal to another DurationDurationDuration.
Protected methodObject.FinalizeObject.FinalizeObject::Finalize Allows an objectObjectobject to attempt to free resources and perform other cleanup operations before the objectObjectobject is reclaimed by garbage collection. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodGetHashCodeGetHashCodeGetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCodeValueType.GetHashCodeValueType::GetHashCode)
Public methodObject.GetTypeObject.GetTypeObject::GetType Gets the TypeTypeType of the current instance. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone Creates a shallow copy of the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodstaticMultiply (double, Duration)Multiply (Double, Duration)Multiply (double, Duration) Multiplies the specified DurationDurationDuration value by a doubleDoubledouble value.
Public methodstaticMultiply (Duration, double)Multiply (Duration, Double)Multiply (Duration, double) Multiplies the specified DurationDurationDuration value by a doubleDoubledouble value.
Public methodstaticNegateNegateNegate Negates the value of the specified DurationDurationDuration operand.
Public methodstaticParseParseParse Converts a lexical representation of an xs:duration to its DurationDurationDuration equivalent.
Public methodstaticPlusPlusPlus Returns the value of the DurationDurationDuration operand (the sign of the operand is unchanged).
Public methodstaticSubtractSubtractSubtract Subtracts a DurationDurationDuration value from another DurationDurationDuration value.
Public methodToStringToStringToString Returns the canonical lexical representation of this DurationDurationDuration. (Overrides ValueType.ToStringValueType.ToStringValueType::ToString)
Public methodstaticTryParseTryParseTryParse Converts a lexical representation of an xs:duration to its DurationDurationDuration equivalent. A return value indicates whether the conversion succeeded or failed.

Top