CentralBodiesFacet.GetByName Method |
Gets a central body by name.
Namespace:
AGI.Foundation.Celestial
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic 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: System.String
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