AGI STK Objects 11Send comments on this topic.
SetRestrictionType Method (IAgCnConstraints)
See Also 
Restriction
Windows






Windows & Linux

Description

This property is deprecated. Use the SetFromRestrictionType and SetToRestrictionType properties.

Syntax

[Visual Basic .NET]
Public Sub SetRestrictionType( _
   ByVal Restriction As AgECnCnstrRestriction _
) 
[C#]
public void SetRestrictionType(
   AgECnCnstrRestriction Restriction
);
[Managed C++]
public: void SetRestrictionType(
   AgECnCnstrRestriction Restriction
);
[Java]
public  setRestrictionType(
   AgECnCnstrRestriction Restriction
);
[Unmanaged C++]
public: HRESULT SetRestrictionType(
   AgECnCnstrRestriction Restriction
);

Parameters

Restriction
MemberValueDescription
eCnCnstrRestrictionUnknown-1Unknown or not supported criterion.
eCnCnstrRestrictionAllOf0AND criterion. The constraint is satisfied if all objects in the constellation meet the conditions for chain access.
eCnCnstrRestrictionAnyOf1EITHER/OR criterion. The constraint is satisfied if any one object in the constellation meets the conditions for chain access.
eCnCnstrRestrictionAtLeastN2AND/OR criterion. The constraint is satisfied if at least the specified number of objects in the constellation meet the conditions for chain access.
eCnCnstrRestrictionExactlyN3ONLY criterion. This constraint is satisfied if the exact specified number of objects in the constellation meet the conditions for chain access.
eCnCnstrRestrictionNoneOf4ONLY criterion. The constraint is satisfied if NO objects in the constellation meet the conditions for chain access.

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.