Dynamicweb 8 Documentation
DeleteOptionsByDefinition(String,String,Int32,Boolean) Method

Group ID.
Language ID.
Filter definition ID.
Indicates whether to clear the cache after all options has been deleted.
Deletes all options that belong to the given eCommerce product group as well as the given filter definition
Syntax
'Declaration
 
Public Overloads Shared Sub DeleteOptionsByDefinition( _ 
   ByVal groupID As String, _ 
   ByVal languageID As String, _ 
   ByVal definitionID As Integer, _ 
   ByVal clearCache As Boolean _ 
) 
public static void DeleteOptionsByDefinition( 
   string groupID,
   string languageID,
   int definitionID,
   bool clearCache 
)

Parameters

groupID
Group ID.
languageID
Language ID.
definitionID
Filter definition ID.
clearCache
Indicates whether to clear the cache after all options has been deleted.
Exceptions
ExceptionDescription
System.ArgumentNullExceptiongroupID is null.
System.ArgumentExceptiongroupID is an empty string or definitionID is less or equal to zero.
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

GroupFilterOption Class
GroupFilterOption Members
Overload List

Send Feedback