====== ThinkGeo.MapSuite.WindowsPhoneCore.DegreesMinutesSeconds ====== {{section>upgrade_map_suite_to_10.0}} This structure represents a degrees, minutes and seconds value. === Remarks === This structure is used in many places to represent decimal degree numbers as degrees, minutes and seconds. ===== Inheritance Hierarchy ===== *System.ValueType **[[ThinkGeo.MapSuite.WindowsPhoneCore.DegreesMinutesSeconds]] ===== Members Summary ===== ==== Public Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#DegreesMinutesSeconds(Int32, Int32, Double)|DegreesMinutesSeconds]] | Int32, Int32, Double | | This constructor allows you to create an instance of the class by specifying the degree, minute and second values. | ==== Protected Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ ==== Public Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#Add(DegreesMinutesSeconds)|Add]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.DegreesMinutesSeconds|DegreesMinutesSeconds]] | | Add two DegreesMinutsSeconds together and return back a summary of the two. | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object(overriden) | Compares current DegreesMinutesSeconds with a passing object. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object(overriden) | Serves as hash function for the particular type. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object(overriden) | This method returns a formatted representation of the degrees, minutes and seconds value. | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString(Int32)|ToString]] | Int32 | | This method returns a formatted representation of the degrees, minutes and seconds value that has been rounded to the specified decimals. | ==== Protected Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | ==== Public Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ | {{wiki:PublicProperty.gif|Public Property}}[[#Degrees|Degrees]] | Int32 | | This property returns the degrees portion of the structure. | | {{wiki:PublicProperty.gif|Public Property}}[[#Minutes|Minutes]] | Int32 | | This property returns the minutes portion of the structure. | | {{wiki:PublicProperty.gif|Public Property}}[[#Seconds|Seconds]] | Double | | This property returns the seconds portion of the structure. | ==== Protected Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ ==== Public Events ==== ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ ===== Public Constructors ===== ==== DegreesMinutesSeconds(Int32, Int32, Double) ==== This constructor allows you to create an instance of the class by specifying the degree, minute and second values. === Parameters === ^ Name ^ Type ^ Description ^ | degrees | Int32 | This parameter represents the degree portion of the structure. | | minutes | Int32 | This parameter represents the minute portion of the structure. | | seconds | Double | This parameter represents the second portion of the structure. | [[#Public Constructors|Go Back]] ===== Protected Constructors ===== ===== Public Methods ===== ==== Add(DegreesMinutesSeconds) ==== Add two DegreesMinutsSeconds together and return back a summary of the two. === Return Value === ^ Return Type ^ Description ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.DegreesMinutesSeconds|DegreesMinutesSeconds]] | The summary of the two DegreesMinutesSeconds. | === Parameters === ^ Name ^ Type ^ Description ^ | targetDegreesMinutesSeconds | [[ThinkGeo.MapSuite.WindowsPhoneCore.DegreesMinutesSeconds|DegreesMinutesSeconds]] | The target DegreesMinutesSeconds to be added together. | [[#Public Methods|Go Back]] ==== Equals(Object) ==== Compares current DegreesMinutesSeconds with a passing object. === Return Value === ^ Return Type ^ Description ^ | Boolean | 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 === ^ Name ^ Type ^ Description ^ | obj | Object | The passing object which will be used to compare with current DegreesMinutesSeconds. | [[#Public Methods|Go Back]] ==== GetHashCode() ==== Serves as hash function for the particular type. === Return Value === ^ Return Type ^ Description ^ | Int32 | The hash code for this particular type. | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetType() ==== === Return Value === ^ Return Type ^ Description ^ | Type | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== 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 === ^ Return Type ^ Description ^ | String | This method returns a formatted representation of the degrees, minutes and seconds value. | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== ToString(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 === ^ Return Type ^ Description ^ | String | This method returns a formatted representation of the degrees, minutes and seconds value. | === Parameters === ^ Name ^ Type ^ Description ^ | decimals | Int32 | The target decimals that the degrees, minutes, seconds value will be rounded to. | [[#Public Methods|Go Back]] ===== Protected Methods ===== ==== Finalize() ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== MemberwiseClone() ==== === Return Value === ^ Return Type ^ Description ^ | Object | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ===== Public Properties ===== ==== Degrees ==== This property returns the degrees portion of the structure. === Return Value === ^ Return Type ^ | Int32 | [[#Public Properties|Go Back]] ==== Minutes ==== This property returns the minutes portion of the structure. === Return Value === ^ Return Type ^ | Int32 | [[#Public Properties|Go Back]] ==== Seconds ==== This property returns the seconds portion of the structure. === Return Value === ^ Return Type ^ | Double | [[#Public Properties|Go Back]] ===== Protected Properties ===== ===== Public Events ===== __NOTOC__ [[Category:WindowsPhoneMapSuiteCore]] [[Category:ThinkGeo.MapSuite.WindowsPhoneCore]] [[Category:UpdateDocumentation]]