CentralBodiesFacetGetByName Method |
Gets a central body by name.
Namespace:
AGI.Foundation.Celestial
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public CentralBody GetByName(
string name
)
Public Function GetByName (
name As String
) As CentralBody
public:
CentralBody^ GetByName(
String^ name
)
member GetByName :
name : string -> CentralBody
Parameters
- name
- Type: SystemString
The name of the central body to get.
Return Value
Type:
CentralBodyThe central body instance, or null if a central body with the specified name does not exist.
See Also