Version

AddCondition Method (IRotator)

Creates a new condition object that implements the ICondition interface and adds it to the internal collection of objects.
Syntax
'Declaration
 
Function AddCondition( _
   ByVal container As IContainer, _
   ByVal fit As Boolean _
) As ICondition
ICondition AddCondition( 
   IContainer container,
   bool fit
)

Parameters

container
A reference to the object that implements the IContainer interface.
fit
A boolean value indicating how to apply the condition based on the state of the container object.

Return Value

An object that implements the ICondition interface.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also