ThirdBodyGravityIndexOf Method (String) |
Searches
ThirdBodies and returns the index of the body with the given body name.
Namespace:
AGI.Foundation.Celestial
Assembly:
AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public int IndexOf(
string name
)
Public Function IndexOf (
name As String
) As Integer
public:
int IndexOf(
String^ name
)
member IndexOf :
name : string -> int
Parameters
- name
- Type: SystemString
The body name for which to search.
Return Value
Type:
Int32The index of the body with the given name, if found; otherwise –1.
See Also