StkEphemerisFileReadFrom Method (TextReader) |
Reads an STK ephemeris (.e) file from a
TextReader. The
TextReader can be a
StreamReader for reading
from a file, a
StringReader for reading from a string,
or any number of other types. See the Remarks section of the
documentation of
ReadFrom(TextReader, StkEphemerisFileOptions) for detailed information.
Namespace:
AGI.Foundation.Stk
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic static StkEphemerisFile ReadFrom(
TextReader reader
)
Public Shared Function ReadFrom (
reader As TextReader
) As StkEphemerisFile
public:
static StkEphemerisFile^ ReadFrom(
TextReader^ reader
)
static member ReadFrom :
reader : TextReader -> StkEphemerisFile
Parameters
- reader
- Type: System.IOTextReader
The reader from which to read the ephemeris.
Return Value
Type:
StkEphemerisFileAn
StkEphemerisFile instance containing the read ephemeris file.
Exceptions| Exception | Condition |
|---|
| InvalidDataException |
Thrown when the STK ephemeris file is invalid or it contains unsupported properties or property values.
|
| ArgumentNullException |
Thrown when reader is .
|
See Also