Class SearchField
Document Field.
Inheritance
System.Object
SearchField
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Search.Extensions
Assembly: Mediachase.Search.Extensions.dll
Version: 12.17.2Syntax
public class SearchField : ISearchField
Constructors
SearchField(String, Object)
Initializes a new instance of the SearchField class.
Declaration
public SearchField(string name, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.Object | value | The value. |
SearchField(String, Object, String[])
Initializes a new instance of the SearchField class.
Declaration
public SearchField(string name, object value, string[] attributes)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.Object | value | The value. |
System.String[] | attributes | The attributes. |
SearchField(String, Object[])
Initializes a new instance of the SearchField class.
Declaration
public SearchField(string name, object[] value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.Object[] | value | The value. |
Properties
Attributes
Gets or sets the attributes.
Declaration
public string[] Attributes { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The attributes. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Value
Gets the value.
Declaration
public object Value { get; }
Property Value
Type | Description |
---|---|
System.Object | The value. |
Values
Gets or sets the value.
Declaration
public object[] Values { get; set; }
Property Value
Type | Description |
---|---|
System.Object[] | The value. |
Methods
AddValue(Object)
Adds the value.
Declaration
public void AddValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value. |
ContainsAttribute(String)
Determines whether the specified value contains attribute.
Declaration
public bool ContainsAttribute(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Returns
Type | Description |
---|---|
System.Boolean |
|
ContainsValue(String)
Determines whether the specified value contains value.
Declaration
public bool ContainsValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Returns
Type | Description |
---|---|
System.Boolean |
|