Removes all matching entries under the default transaction from the space.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | J# |
int Clear( Object template )
Function Clear ( _ template As Object _ ) As Integer
int Clear( Object^ template )
int Clear( Object template )
![](../icons/collapse_all.gif)
- template (Object)
- The template/query used for matching.
![](../icons/collapse_all.gif)
Number of removed entries.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ClearException | The operation had a failure. |