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

Class SearchContentModuleInfoCollection

Represents a collection of SearchContentModuleInfo objects.

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

Constructors

| Improve this Doc View Source

SearchContentModuleInfoCollection()

Initializes a new instance of the SearchContentModuleInfoCollection class.

Declaration
public SearchContentModuleInfoCollection()
| Improve this Doc View Source

SearchContentModuleInfoCollection(SearchContentModuleInfo[])

Initializes a new instance of the SearchContentModuleInfoCollection class containing the specified array of SearchContentModuleInfo objects.

Declaration
public SearchContentModuleInfoCollection(SearchContentModuleInfo[] value)
Parameters
Type Name Description
SearchContentModuleInfo[] value

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

| Improve this Doc View Source

SearchContentModuleInfoCollection(SearchContentModuleInfoCollection)

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

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

A SearchContentModuleInfoCollection with which to initialize the collection.

Properties

| Improve this Doc View Source

Item[Int32]

Gets the SearchContentModuleInfoCollection at the specified index in the collection.

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

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

Methods

| Improve this Doc View Source

Add(SearchContentModuleInfo)

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

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

An object of type SearchContentModuleInfo 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(SearchContentModuleInfo[])

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

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

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

| Improve this Doc View Source

AddRange(SearchContentModuleInfoCollection)

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

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

A SearchContentModuleInfoCollection containing the objects to add to the collection.

| Improve this Doc View Source

Contains(SearchContentModuleInfo)

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

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

The SearchContentModuleInfoCollection 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(SearchContentModuleInfo[], Int32)

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

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

The one-dimensional System.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(SearchContentModuleInfo)

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

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

The SearchContentModuleInfoCollection 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, SearchContentModuleInfo)

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

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

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

SearchContentModuleInfo value

An object of type SearchContentModuleInfo to add to the collection.

| Improve this Doc View Source

Remove(SearchContentModuleInfo)

Remove the specified object of type SearchContentModuleInfo from the collection.

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

An object of type SearchContentModuleInfo to remove to the collection.

| Improve this Doc View Source

ToArray()

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

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

Array of type SearchContentModuleInfo.

Extension Methods

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