C# Class Discuz.Entity.PhotoCommentInfoCollection

PhotoCommentInfoCollection µÄժҪ˵Ã÷¡£
Inheritance: System.Collections.CollectionBase
Afficher le fichier Open project: CyranoChen/DiscuzNT Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Add() public méthode

public Add ( PhotoCommentInfo value ) : int
value PhotoCommentInfo
Résultat int

AddRange() public méthode

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.
Résultat void

AddRange() public méthode

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.
Résultat void

Contains() public méthode

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.
Résultat bool

CopyTo() public méthode

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.
Résultat void

GetEnumerator() public méthode

Returns an enumerator that can iterate through the PhotoCommentInfoCollection instance.
public GetEnumerator ( ) : PhotoCommentInfoCollectionEnumerator
Résultat PhotoCommentInfoCollectionEnumerator

IndexOf() public méthode

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.
Résultat int

Insert() public méthode

public Insert ( int index, PhotoCommentInfo value ) : void
index int
value PhotoCommentInfo
Résultat void

PhotoCommentInfoCollection() public méthode

Initializes a new instance of the PhotoCommentInfoCollection class.
public PhotoCommentInfoCollection ( ) : System
Résultat System

PhotoCommentInfoCollection() public méthode

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.
Résultat System

PhotoCommentInfoCollection() public méthode

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.
Résultat System

Remove() public méthode

public Remove ( PhotoCommentInfo value ) : void
value PhotoCommentInfo
Résultat void

this() public méthode

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
Résultat PhotoCommentInfo