Description
Get a value indicating whether the specified type can be used.
Syntax
[Visual Basic .NET] |
---|
Public Function IsProfileTypeSupported( _
ByVal Profile As AgEVeProfile _
) As Boolean
|
Parameters
See Also
Example
Set attitude profile type (if profile is supported)
[C#] |
---|
IAgVeOrbitAttitudeStandard standard = satellite.Attitude as IAgVeOrbitAttitudeStandard;
if (standard.Basic.IsProfileTypeSupported(AgEVeProfile.eProfileSpinning))
{
standard.Basic.SetProfileType(AgEVeProfile.eProfileSpinning);
}
|
|
Set attitude profile type (if profile is supported)
[Visual Basic .NET] |
---|
Dim standard As IAgVeOrbitAttitudeStandard = TryCast(satellite.Attitude, IAgVeOrbitAttitudeStandard)
If standard.Basic.IsProfileTypeSupported(AgEVeProfile.eProfileSpinning) Then
standard.Basic.SetProfileType(AgEVeProfile.eProfileSpinning)
End If
|
|