YearMonthDuration MethodsYearMonthDuration MethodsYearMonthDuration Methods

The YearMonthDurationYearMonthDurationYearMonthDuration type exposes the following members.

Methods

 MethodDescription
Public methodstaticAddAddAdd Adds two specified YearMonthDurationYearMonthDurationYearMonthDuration values.
Public methodstaticCompareCompareCompare Compares two specified YearMonthDurationYearMonthDurationYearMonthDuration values.
Public methodCompareToCompareToCompareTo Compares this instance to a specified YearMonthDurationYearMonthDurationYearMonthDuration and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified YearMonthDurationYearMonthDurationYearMonthDuration.
Public methodstaticDivide (YearMonthDuration, double)Divide (YearMonthDuration, Double)Divide (YearMonthDuration, double) Divides the specified YearMonthDurationYearMonthDurationYearMonthDuration value by a doubleDoubledouble value.
Public methodstaticDivide (YearMonthDuration, YearMonthDuration)Divide (YearMonthDuration, YearMonthDuration)Divide (YearMonthDuration, YearMonthDuration) Divides the specified YearMonthDurationYearMonthDurationYearMonthDuration value by another YearMonthDurationYearMonthDurationYearMonthDuration 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 (YearMonthDuration)Equals (YearMonthDuration)Equals (YearMonthDuration) Indicates whether this instance is equal to another YearMonthDurationYearMonthDurationYearMonthDuration.
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, YearMonthDuration)Multiply (Double, YearMonthDuration)Multiply (double, YearMonthDuration) Multiplies the specified YearMonthDurationYearMonthDurationYearMonthDuration value by a doubleDoubledouble value.
Public methodstaticMultiply (YearMonthDuration, double)Multiply (YearMonthDuration, Double)Multiply (YearMonthDuration, double) Multiplies the specified YearMonthDurationYearMonthDurationYearMonthDuration value by a doubleDoubledouble value.
Public methodstaticNegateNegateNegate Negates the value of the specified YearMonthDurationYearMonthDurationYearMonthDuration operand.
Public methodstaticParseParseParse Converts a lexical representation of an xs:yearMonthDuration to its YearMonthDurationYearMonthDurationYearMonthDuration equivalent.
Public methodstaticPlusPlusPlus Returns the value of the YearMonthDurationYearMonthDurationYearMonthDuration operand (the sign of the operand is unchanged).
Public methodstaticSubtractSubtractSubtract Subtracts a YearMonthDurationYearMonthDurationYearMonthDuration value from another YearMonthDurationYearMonthDurationYearMonthDuration value.
Public methodToStringToStringToString Returns the canonical lexical representation of this YearMonthDurationYearMonthDurationYearMonthDuration. (Overrides ValueType.ToStringValueType.ToStringValueType::ToString)
Public methodstaticTryParseTryParseTryParse Converts a lexical representation of an xs:yearMonthDuration to its YearMonthDurationYearMonthDurationYearMonthDuration equivalent. A return value indicates whether the conversion succeeded or failed.

Top