• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class SearchItemInfoCollection

Represents a collection of SearchItemInfo objects.

Inheritance
System.Object
SearchItemInfoCollection
Namespace: DotNetNuke.Services.Search
Assembly: DotNetNuke.dll
Syntax
public class SearchItemInfoCollection : CollectionBase

Constructors

| Improve this Doc View Source

SearchItemInfoCollection()

Initializes a new instance of the SearchItemInfoCollection class.

Declaration
public SearchItemInfoCollection()
| Improve this Doc View Source

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 of SearchItemInfo objects with which to initialize the collection.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

Item[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 Source

Add(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.

| Improve this Doc View Source

AddRange(ArrayList)

Copies the elements of the specified to the end of the collection.

Declaration
public void AddRange(ArrayList value)
Parameters
Type Name Description
ArrayList value

An of type SearchItemInfo containing the objects to add to the collection.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

CopyTo(SearchItemInfo[], Int32)

Copies the collection objects to a one-dimensional Array instance beginning at the specified index.

Declaration
public void CopyTo(SearchItemInfo[] array, int index)
Parameters
Type Name Description
SearchItemInfo[] array

The one-dimensional Array that is the destination of the values copied from the collection.

System.Int32 index

The index of the array at which to begin inserting.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Integer to indicate the location to add the object to the collection.

SearchItemInfo value

An object of type SearchItemInfo to add to the collection.

| Improve this Doc View Source

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
| Improve this Doc View Source

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.

| Improve this Doc View Source

ToArray()

Creates a one-dimensional Array instance containing the collection items.

Declaration
public SearchItemInfo[] ToArray()
Returns
Type Description
SearchItemInfo[]

Array of type SearchItemInfo.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS