SaaS CMS has officially launched! Learn more now.

Interface ISearchField

Represents the field in the search engine. Used mostly for indexing purpose.

Namespace: Mediachase.Search
Assembly: Mediachase.Search.dll
Version: 11.8.3
Syntax
public interface ISearchField

Properties

Attributes

Gets or sets the attributes.

Declaration
string[] Attributes { get; set; }
Property Value
Type Description
System.String[]

The attributes.

Name

Gets or sets the name.

Declaration
string Name { get; set; }
Property Value
Type Description
System.String

The name.

Value

Gets the value.

Declaration
object Value { get; }
Property Value
Type Description
System.Object

The value.

Values

Gets or sets the values.

Declaration
object[] Values { get; set; }
Property Value
Type Description
System.Object[]

The values.

Methods

AddValue(Object)

Adds the value.

Declaration
void AddValue(object value)
Parameters
Type Name Description
System.Object value

The value.

ContainsAttribute(String)

Determines whether the specified value contains attribute.

Declaration
bool ContainsAttribute(string value)
Parameters
Type Name Description
System.String value

The value.

Returns
Type Description
System.Boolean

true if the specified value contains attribute; otherwise, false.

ContainsValue(String)

Determines whether the specified value contains value.

Declaration
bool ContainsValue(string value)
Parameters
Type Name Description
System.String value

The value.

Returns
Type Description
System.Boolean

true if the specified value contains value; otherwise, false.