ContentFilter
Represents a filter for the onion.net data search. This filter limits by content.
If this filter is used in the search, then the data objects can be limited by content.
Contains and Contains exactly can be used as a type for narrowing down. The type Contains exactly searches in the content of a data object for exactly the expression that was indicated for the property word. If several words were indicated in word, then these are linked with the logical OR.
Constructors
Constructor | Description |
---|---|
ContentFilter(ContentMatchType, String) | Initialises a new instance of the ContentFilter class. The indicated parameters form the complete filter. |
ContentFilter(String) | Initialisiert eine neue Instanz der ContentFilter-Klasse mit dem angegebenen Suchtext. Der ist der Standardwert von . Initialises a new instance of the ContentFilter class with the indicated search text. The MatchType is the default value of ContentMatchType. |
Properties
Property | Description |
---|---|
MatchType:ContentMatchType | The MatchType indicates the type of search for the content in a data object. The default value is Contains. |
Word:String | Contains the term for which to search in the content. |
Methods
Method | Description |
---|---|
Equals(Object):Boolean | Determines whether the indicated object is identical to the current object. (Inherited by System.Object) |
GetHashCode():Int32 | Functions as the standard hash function. (Inherited by System.Object) |
GetType():Type | Calls the runtime type of the current instance. (Inherited by System.Object) |
ToString():String | Creates a string equivalent of the current exception and returns this. (Inherited by System.Object) |