Dynamicweb 8 Documentation
GetConditionsByDefinition Method

An ID of the dependant defition (can be ommited to prevent filtering by dependant definition).
An ID of the target definition.
Retrieves a list of conditions by their definition ID.
Syntax
'Declaration
 
Public Shared Function GetConditionsByDefinition( _ 
   ByVal dependantDefinitionID As Integer, _ 
   ByVal definitionID As Integer _ 
) As IEnumerable(Of FilterVisibilityCondition)
public static IEnumerable<FilterVisibilityCondition> GetConditionsByDefinition( 
   int dependantDefinitionID,
   int definitionID 
)

Parameters

dependantDefinitionID
An ID of the dependant defition (can be ommited to prevent filtering by dependant definition).
definitionID
An ID of the target definition.

Return Value

A list of matched conditions or an empty list of no conditions found.
Requirements

Target Platforms: 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

Reference

FilterVisibilityCondition Class
FilterVisibilityCondition Members

Send Feedback