C# Класс Discuz.Entity.PhotoCommentInfoCollection

PhotoCommentInfoCollection µÄժҪ˵Ã÷¡£
Наследование: System.Collections.CollectionBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( PhotoCommentInfo value ) : int
AddRange ( PhotoCommentInfo value ) : void

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

AddRange ( PhotoCommentInfoCollection value ) : void

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

Contains ( PhotoCommentInfo value ) : bool

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

CopyTo ( PhotoCommentInfo array, int index ) : void

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

GetEnumerator ( ) : PhotoCommentInfoCollectionEnumerator

Returns an enumerator that can iterate through the PhotoCommentInfoCollection instance.

IndexOf ( PhotoCommentInfo value ) : int

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

Insert ( int index, PhotoCommentInfo value ) : void
PhotoCommentInfoCollection ( ) : System

Initializes a new instance of the PhotoCommentInfoCollection class.

PhotoCommentInfoCollection ( PhotoCommentInfo value ) : System

Initializes a new instance of the PhotoCommentInfoCollection class containing the specified array of PhotoCommentInfo Components.

PhotoCommentInfoCollection ( PhotoCommentInfoCollection value ) : System

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

Remove ( PhotoCommentInfo value ) : void
this ( int index ) : PhotoCommentInfo

Gets the PhotoCommentInfoCollection at the specified index in the collection.

In C#, this property is the indexer for the PhotoCommentInfoCollection class.

Описание методов

Add() публичный Метод

public Add ( PhotoCommentInfo value ) : int
value PhotoCommentInfo
Результат int

AddRange() публичный Метод

Copies the elements of the specified PhotoCommentInfo array to the end of the collection.
public AddRange ( PhotoCommentInfo value ) : void
value PhotoCommentInfo An array of type PhotoCommentInfo containing the Components to add to the collection.
Результат void

AddRange() публичный Метод

Adds the contents of another PhotoCommentInfoCollection to the end of the collection.
public AddRange ( PhotoCommentInfoCollection value ) : void
value PhotoCommentInfoCollection A PhotoCommentInfoCollection containing the Components to add to the collection.
Результат void

Contains() публичный Метод

Gets a value indicating whether the collection contains the specified PhotoCommentInfoCollection.
public Contains ( PhotoCommentInfo value ) : bool
value PhotoCommentInfo The PhotoCommentInfoCollection to search for in the collection.
Результат bool

CopyTo() публичный Метод

Copies the collection Components to a one-dimensional Array instance beginning at the specified index.
public CopyTo ( PhotoCommentInfo array, int index ) : void
array PhotoCommentInfo The one-dimensional Array that is the destination of the values copied from the collection.
index int The index of the array at which to begin inserting.
Результат void

GetEnumerator() публичный Метод

Returns an enumerator that can iterate through the PhotoCommentInfoCollection instance.
public GetEnumerator ( ) : PhotoCommentInfoCollectionEnumerator
Результат PhotoCommentInfoCollectionEnumerator

IndexOf() публичный Метод

Gets the index in the collection of the specified PhotoCommentInfoCollection, if it exists in the collection.
public IndexOf ( PhotoCommentInfo value ) : int
value PhotoCommentInfo The PhotoCommentInfoCollection to locate in the collection.
Результат int

Insert() публичный Метод

public Insert ( int index, PhotoCommentInfo value ) : void
index int
value PhotoCommentInfo
Результат void

PhotoCommentInfoCollection() публичный Метод

Initializes a new instance of the PhotoCommentInfoCollection class.
public PhotoCommentInfoCollection ( ) : System
Результат System

PhotoCommentInfoCollection() публичный Метод

Initializes a new instance of the PhotoCommentInfoCollection class containing the specified array of PhotoCommentInfo Components.
public PhotoCommentInfoCollection ( PhotoCommentInfo value ) : System
value PhotoCommentInfo An array of PhotoCommentInfo Components with which to initialize the collection.
Результат System

PhotoCommentInfoCollection() публичный Метод

Initializes a new instance of the PhotoCommentInfoCollection class containing the elements of the specified source collection.
public PhotoCommentInfoCollection ( PhotoCommentInfoCollection value ) : System
value PhotoCommentInfoCollection A PhotoCommentInfoCollection with which to initialize the collection.
Результат System

Remove() публичный Метод

public Remove ( PhotoCommentInfo value ) : void
value PhotoCommentInfo
Результат void

this() публичный Метод

Gets the PhotoCommentInfoCollection at the specified index in the collection.

In C#, this property is the indexer for the PhotoCommentInfoCollection class.

public this ( int index ) : PhotoCommentInfo
index int
Результат PhotoCommentInfo