Sphinx QLParameter Collection Class
Represents a collection of parameters associated with a SphinxQLCommand.
This class cannot be inherited.
Definition
Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public sealed class SphinxQLParameterCollection : DbParameterCollectionVB
Public NotInheritable Class SphinxQLParameterCollection
Inherits DbParameterCollection- Inheritance
- Object MarshalByRefObject DbParameterCollection SphinxQLParameterCollection
Properties
| Count |
Specifies the number of items in the collection.
(Overrides DbParameterCollectionCount) |
| IsFixedSize |
Specifies whether the collection is a fixed size.
(Overrides DbParameterCollection.IsFixedSize) |
| IsReadOnly |
Specifies whether the collection is read-only.
(Overrides DbParameterCollection.IsReadOnly) |
| IsSynchronized |
Specifies whether the collection is synchronized.
(Overrides DbParameterCollection.IsSynchronized) |
| ItemInt32 | Gets or sets the SphinxQLParameter at the specified index. |
| ItemString | Gets or sets the SphinxQLParameter with the specified name. |
| SyncRoot |
Specifies the Object to be used to synchronize access to the collection.
(Overrides DbParameterCollection.SyncRoot) |
Methods
| Add(Object) |
Adds a SphinxQLParameter item to the DbParameterCollection.
(Overrides DbParameterCollectionAdd(Object)) |
| Add(SphinxQLParameter) | Adds the specified SphinxQLParameter object to the SphinxQLParameterCollection. |
| Add(String, Object) | Adds the specified parameter name. |
| Add(String, Object, SphinxType) | Adds a SphinxQLParameter to the SphinxQLParameterCollection given the parameter name, the value and the data type. |
| AddRange |
Adds an array of items with the specified values to the SphinxQLParameterCollection.
(Overrides DbParameterCollectionAddRange(Array)) |
| Clear |
Removes all SphinxQLParameter values from the DbParameterCollection.
(Overrides DbParameterCollectionClear) |
| Contains(Object) |
Indicates whether a SphinxQLParameter with the specified Value is contained in the collection.
(Overrides DbParameterCollectionContains(Object)) |
| Contains(String) |
Indicates whether a SphinxQLParameter with the specified name exists in the collection.
(Overrides DbParameterCollectionContains(String)) |
| CopyTo |
Copies all the elements of the current SphinxQLParameterCollection to the specified one-dimensional Array
starting at the specified destination Array index.
(Overrides DbParameterCollectionCopyTo(Array, Int32)) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetEnumerator |
Exposes the GetEnumerator method, which supports a simple iteration over a collection by a .NET Framework data provider.
(Overrides DbParameterCollection.GetEnumerator) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IndexOf(Object) |
Returns the index of the specified SphinxQLParameter object.
(Overrides DbParameterCollectionIndexOf(Object)) |
| IndexOf(String) |
Returns the index of the SphinxQLParameter object with the specified name.
(Overrides DbParameterCollectionIndexOf(String)) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
| Insert |
Inserts the specified index of the SphinxQLParameter object with the specified name into the collection at the specified index.
(Overrides DbParameterCollectionInsert(Int32, Object)) |
| Remove |
Removes the specified SphinxQLParameter object from the collection.
(Overrides DbParameterCollectionRemove(Object)) |
| RemoveAt(Int32) |
Removes the SphinxQLParameter object at the specified position from the collection.
(Overrides DbParameterCollectionRemoveAt(Int32)) |
| RemoveAt(String) |
Removes the SphinxQLParameter object with the specified name from the collection.
(Overrides DbParameterCollectionRemoveAt(String)) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
Explicit Interface Implementations
| IListAdd | For a description of this member, see Add(Object). (Inherited from DbParameterCollection) |
| IListContains | For a description of this member, see Contains(Object). (Inherited from DbParameterCollection) |
| IListIndexOf | For a description of this member, see IndexOf(Object). (Inherited from DbParameterCollection) |
| IListInsert | For a description of this member, see Insert(Int32, Object). (Inherited from DbParameterCollection) |
| IListItem | Gets or sets the element at the specified index. (Inherited from DbParameterCollection) |
| IDataParameterCollectionItem | Gets or sets the parameter at the specified index. (Inherited from DbParameterCollection) |
| IListRemove | For a description of this member, see Remove(Object). (Inherited from DbParameterCollection) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.