Click or drag to resize
OSIsoft, LLC

AFSearchTokenBase Class

Represents criteria of a search clause for AFSearch based searches.
Inheritance Hierarchy

Namespace:  OSIsoft.AF.Search
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.6.195
Syntax
[SerializableAttribute]
public abstract class AFSearchTokenBase : IEquatable<AFSearchTokenBase>

The AFSearchTokenBase type exposes the following members.

Properties
  NameDescription
Public propertyFilter
The filter to be searched with the current token.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(AFSearchTokenBase)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Gets the hash code for this instance of the object which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberToString(IListAFSearchTokenBase)
This method will return a String that represents the list of AFSearchTokenBase objects.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
The equality operator (==) compares its operands to determine if they are equal.
Public operatorStatic member(AFSearchTokenBase to AFSearchToken) Obsolete.
Casts an AFSearchTokenBase object as an AFSearchToken.
Public operatorStatic memberInequality
The inequality operator (!=) compares its operands to determine if they are not equal.
Top
Remarks

This class represents the information about a search query token created when parsing a search query. These tokens can be used to perform a search for objects from the server. This class cannot be instantiated.

The AFSearchFilter and AFSearchOperator topics provide more information about the filters and operators that can be used in a search token.

Version Information

AFSDK

Supported in: 2.10.5
See Also
Enabling Operational Intelligence