Click or drag to resize

TwoLineElementSetTryConvertAlpha5SatelliteCatalogNumbersToIntegers Method

Tries to convert an Alpha-5 satellite catalog number into its corresponding integer representation.

Namespace:  AGI.Foundation.Propagators
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static bool TryConvertAlpha5SatelliteCatalogNumbersToIntegers(
	string alphaFiveSatelliteCatalogNumberString,
	out string intSatelliteCatalogNumberString
)

Parameters

alphaFiveSatelliteCatalogNumberString
Type: SystemString
The satellite catalog number represented as a 5-digit string where the first digit is alpha-numerical with only capital letters (other than I or O) and 0-9 accepted, and the final 4 digits are numerical with only 0-9 accepted for each digit. Strings with 1 to 4 digits are also accepted if all of the available digits are numerical with only 0-9 accepted for each digit. Leading and trailing whitespace will be removed automatically.
intSatelliteCatalogNumberString
Type: SystemString
On return, a string containing the integer representation of the satellite catalog number that can be up to 6 digits in length.

Return Value

Type: Boolean
if a valid string has been entered; otherwise .
See Also