C# Class Discuz.Entity.PhotoCommentInfoCollection

PhotoCommentInfoCollection µÄժҪ˵Ã÷¡£
Inheritance: System.Collections.CollectionBase
ファイルを表示 Open project: CyranoChen/DiscuzNT Class Usage Examples

Public Methods

Method 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 method

public Add ( PhotoCommentInfo value ) : int
value PhotoCommentInfo
return int

AddRange() public method

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.
return void

AddRange() public method

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.
return void

Contains() public method

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.
return bool

CopyTo() public method

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.
return void

GetEnumerator() public method

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

IndexOf() public method

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.
return int

Insert() public method

public Insert ( int index, PhotoCommentInfo value ) : void
index int
value PhotoCommentInfo
return void

PhotoCommentInfoCollection() public method

Initializes a new instance of the PhotoCommentInfoCollection class.
public PhotoCommentInfoCollection ( ) : System
return System

PhotoCommentInfoCollection() public method

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.
return System

PhotoCommentInfoCollection() public method

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.
return System

Remove() public method

public Remove ( PhotoCommentInfo value ) : void
value PhotoCommentInfo
return void

this() public method

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
return PhotoCommentInfo