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

Class SearchResultsInfoCollection

Represents a collection of SearchResultsInfo objects.

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

Constructors

| Improve this Doc View Source

SearchResultsInfoCollection()

Initializes a new instance of the SearchResultsInfoCollection class.

Declaration
public SearchResultsInfoCollection()
| Improve this Doc View Source

SearchResultsInfoCollection(ArrayList)

Initializes a new instance of the SearchResultsInfoCollection class containing the specified array of SearchResultsInfo objects.

Declaration
public SearchResultsInfoCollection(ArrayList value)
Parameters
Type Name Description
ArrayList value

An array of SearchResultsInfo objects with which to initialize the collection.

| Improve this Doc View Source

SearchResultsInfoCollection(SearchResultsInfo[])

Initializes a new instance of the SearchResultsInfoCollection class containing the specified array of SearchResultsInfo objects.

Declaration
public SearchResultsInfoCollection(SearchResultsInfo[] value)
Parameters
Type Name Description
SearchResultsInfo[] value

An array of SearchResultsInfo objects with which to initialize the collection.

| Improve this Doc View Source

SearchResultsInfoCollection(SearchResultsInfoCollection)

Initializes a new instance of the SearchResultsInfoCollection class containing the elements of the specified source collection.

Declaration
public SearchResultsInfoCollection(SearchResultsInfoCollection value)
Parameters
Type Name Description
SearchResultsInfoCollection value

A SearchResultsInfoCollection with which to initialize the collection.

Properties

| Improve this Doc View Source

Item[Int32]

Gets the SearchResultsInfoCollection at the specified index in the collection.

In VB.Net, this property is the indexer for the SearchResultsInfoCollection class.

Declaration
public SearchResultsInfo this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
SearchResultsInfo

Methods

| Improve this Doc View Source

Add(SearchResultsInfo)

Add an element of the specified SearchResultsInfo to the end of the collection.

Declaration
public int Add(SearchResultsInfo value)
Parameters
Type Name Description
SearchResultsInfo value

An object of type SearchResultsInfo 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 SearchResultsInfo containing the objects to add to the collection.

| Improve this Doc View Source

AddRange(SearchResultsInfo[])

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

Declaration
public void AddRange(SearchResultsInfo[] value)
Parameters
Type Name Description
SearchResultsInfo[] value

An array of type SearchResultsInfo containing the objects to add to the collection.

| Improve this Doc View Source

AddRange(SearchResultsInfoCollection)

Adds the contents of another SearchResultsInfoCollection to the end of the collection.

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

A SearchResultsInfoCollection containing the objects to add to the collection.

| Improve this Doc View Source

Contains(SearchResultsInfo)

Gets a value indicating whether the collection contains the specified SearchResultsInfoCollection.

Declaration
public bool Contains(SearchResultsInfo value)
Parameters
Type Name Description
SearchResultsInfo value

The SearchResultsInfoCollection 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(SearchResultsInfo[], Int32)

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

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

The one-dimensional 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(SearchResultsInfo)

Gets the index in the collection of the specified SearchResultsInfoCollection, if it exists in the collection.

Declaration
public int IndexOf(SearchResultsInfo value)
Parameters
Type Name Description
SearchResultsInfo value

The SearchResultsInfoCollection 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, SearchResultsInfo)

Add an element of the specified SearchResultsInfo to the collection at the designated index.

Declaration
public void Insert(int index, SearchResultsInfo value)
Parameters
Type Name Description
System.Int32 index

An Integer to indicate the location to add the object to the collection.

SearchResultsInfo value

An object of type SearchResultsInfo to add to the collection.

| Improve this Doc View Source

Remove(SearchResultsInfo)

Remove the specified object of type SearchResultsInfo from the collection.

Declaration
public void Remove(SearchResultsInfo value)
Parameters
Type Name Description
SearchResultsInfo value

An object of type SearchResultsInfo to remove to the collection.

| Improve this Doc View Source

ToArray()

Creates a one-dimensional instance containing the collection items.

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

Array of type SearchResultsInfo.

Extension Methods

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