====== ThinkGeo.MapSuite.Core.DegreesMinutesSeconds ====== {{section>upgrade_map_suite_to_10.0}} This structure represents a degrees, minutes and seconds value. ===== Inheritance Hierarchy ===== *System.Object *System.ValueType ***ThinkGeo.MapSuite.Core.DegreesMinutesSeconds** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} DegreesMinutesSeconds(Int32,Int32,Double) ** * //This constructor allows you to create an instance of the class by specifying the degree, minute and second values.// == Remarks == * //None// == Parameters == * //degrees// * Type:Int32 * Description:This parameter represents the degree portion of the structure. * //minutes// * Type:Int32 * Description:This parameter represents the minute portion of the structure. * //seconds// * Type:Double * Description:This parameter represents the second portion of the structure.
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //Serves as hash function for the particular type.// == Remarks == * //N/A// == Return Value == * Type:Int32 * Description:The hash code for this particular type. == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //Compares current DegreesMinutesSeconds with a passing object.// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:True if the passing object satisfies the following two conditions:1) The object is of DegreesMinutesSeconds type.2) The Degrees, Minutes and Seconds of both DegreesMinutesSeconds should be the same.If both conditions are not met, will return false. == Parameters == * //obj// * Type:Object * Description:The passing object which will be used to compare with current DegreesMinutesSeconds.
** {{wiki:PublicMethod.gif|}} Add(DegreesMinutesSeconds) ** * //Add two DegreesMinutsSeconds together and return back a summary of the two.// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] * Description:The summary of the two DegreesMinutesSeconds. == Parameters == * //targetDegreesMinutesSeconds// * Type:[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] * Description:The target DegreesMinutesSeconds to be added together.
** {{wiki:PublicMethod.gif|}} ToString() ** * //This method returns a formatted representation of the degrees, minutes and seconds value.// == Remarks == * //The value will be formatted in the standard string format: 75º 21' 28"// == Return Value == * Type:String * Description:This method returns a formatted representation of the degrees, minutes and seconds value. == Parameters ==
** {{wiki:PublicMethod.gif|}} ToString(Int32) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters == * //decimals// * Type:Int32 * Description:N/A
** {{wiki:PublicMethod.gif|}} GetFormattedString(Int32) ** * //This method returns a formatted representation of the degrees, minutes and seconds value that has been rounded to the specified decimals.// == Remarks == * //The value will be formatted in the standard string format. For example, 75º 21' 2.1235" (when the decimals parameter is set to 4).// == Return Value == * Type:String * Description:This method returns a formatted representation of the degrees, minutes and seconds value. == Parameters == * //decimals// * Type:Int32 * Description:The target decimals that the degrees, minutes, seconds value will be rounded to.
** {{wiki:PublicMethod.gif|}} GetFormattedString(DegreesMinutesSecondsFormatType) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters == * //formatType// * Type:[[ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType|DegreesMinutesSecondsFormatType]] * Description:N/A
** {{wiki:PublicMethod.gif|}} GetFormattedString(DegreesMinutesSecondsFormatType,Int32) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters == * //formatType// * Type:[[ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType|DegreesMinutesSecondsFormatType]] * Description:N/A * //decimals// * Type:Int32 * Description:N/A
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} Degrees ** This property returns the degrees portion of the structure. == Remarks == None == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} Minutes ** This property returns the minutes portion of the structure. == Remarks == None == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} Seconds ** This property returns the seconds portion of the structure. == Remarks == None == Return Value == * Type:Double ==== Protected Properties ==== ==== Public Events ====