Creates a new condition object that implements the
ICondition interface and adds it to the internal collection of objects.
'Declaration
Function AddCondition( _
ByVal As IContainer, _
ByVal As System.Boolean _
) As ICondition
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.
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, 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