Class SearchItemInfoCollection
Represents a collection of SearchItemInfo objects.
Inheritance
Namespace: DotNetNuke.Services.Search
Assembly: DotNetNuke.dll
Syntax
public class SearchItemInfoCollection : CollectionBase
Constructors
| Improve this Doc View SourceSearchItemInfoCollection()
Initializes a new instance of the SearchItemInfoCollection class.
Declaration
public SearchItemInfoCollection()
SearchItemInfoCollection(ArrayList)
Initializes a new instance of the SearchItemInfoCollection class containing the specified array of SearchItemInfo objects.
Declaration
public SearchItemInfoCollection(ArrayList value)
Parameters
Type | Name | Description |
---|---|---|
ArrayList | value | An |
SearchItemInfoCollection(SearchItemInfo[])
Initializes a new instance of the SearchItemInfoCollection class containing the specified array of SearchItemInfo objects.
Declaration
public SearchItemInfoCollection(SearchItemInfo[] value)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfo[] | value | An array of SearchItemInfo objects with which to initialize the collection. |
SearchItemInfoCollection(SearchItemInfoCollection)
Initializes a new instance of the SearchItemInfoCollection class containing the elements of the specified source collection.
Declaration
public SearchItemInfoCollection(SearchItemInfoCollection value)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfoCollection | value | A SearchItemInfoCollection with which to initialize the collection. |
Properties
| Improve this Doc View SourceItem[Int32]
Gets the SearchItemInfoCollection at the specified index in the collection.
In VB.Net, this property is the indexer for the SearchItemInfoCollection class.
Declaration
public SearchItemInfo this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
SearchItemInfo |
Methods
| Improve this Doc View SourceAdd(SearchItemInfo)
Add an element of the specified SearchItemInfo to the end of the collection.
Declaration
public int Add(SearchItemInfo value)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfo | value | An object of type SearchItemInfo to add to the collection. |
Returns
Type | Description |
---|---|
System.Int32 | The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection. |
AddRange(ArrayList)
Copies the elements of the specified
Declaration
public void AddRange(ArrayList value)
Parameters
Type | Name | Description |
---|---|---|
ArrayList | value | An |
AddRange(SearchItemInfo[])
Copies the elements of the specified SearchItemInfo array to the end of the collection.
Declaration
public void AddRange(SearchItemInfo[] value)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfo[] | value | An array of type SearchItemInfo containing the objects to add to the collection. |
AddRange(SearchItemInfoCollection)
Adds the contents of another SearchItemInfoCollection to the end of the collection.
Declaration
public void AddRange(SearchItemInfoCollection value)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfoCollection | value | A SearchItemInfoCollection containing the objects to add to the collection. |
Contains(SearchItemInfo)
Gets a value indicating whether the collection contains the specified SearchItemInfoCollection.
Declaration
public bool Contains(SearchItemInfo value)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfo | value | The SearchItemInfoCollection to search for in the collection. |
Returns
Type | Description |
---|---|
System.Boolean | true if the collection contains the specified object; otherwise, false. |
CopyTo(SearchItemInfo[], Int32)
Copies the collection objects to a one-dimensional
Declaration
public void CopyTo(SearchItemInfo[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfo[] | array | The one-dimensional |
System.Int32 | index | The index of the array at which to begin inserting. |
IndexOf(SearchItemInfo)
Gets the index in the collection of the specified SearchItemInfoCollection, if it exists in the collection.
Declaration
public int IndexOf(SearchItemInfo value)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfo | value | The SearchItemInfoCollection to locate in the collection. |
Returns
Type | Description |
---|---|
System.Int32 | The index in the collection of the specified object, if found; otherwise, -1. |
Insert(Int32, SearchItemInfo)
Add an element of the specified SearchItemInfo to the collection at the designated index.
Declaration
public void Insert(int index, SearchItemInfo value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | An |
SearchItemInfo | value | An object of type SearchItemInfo to add to the collection. |
ModuleItems(Int32)
Represents a collection of SearchItemInfo objects.
Declaration
public SearchItemInfoCollection ModuleItems(int moduleId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | moduleId |
Returns
Type | Description |
---|---|
SearchItemInfoCollection |
Remove(SearchItemInfo)
Remove the specified object of type SearchItemInfo from the collection.
Declaration
public void Remove(SearchItemInfo value)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfo | value | An object of type SearchItemInfo to remove to the collection. |
ToArray()
Creates a one-dimensional
Declaration
public SearchItemInfo[] ToArray()
Returns
Type | Description |
---|---|
SearchItemInfo[] | Array of type SearchItemInfo. |