ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 626
نمايش فراداده

ObjectListFieldCollection.NET 1.1

System.Web.UI.MobileControls (system.web.mobile.dll)class

This is a strongly typed collection of ObjectListField instances. It's used to define the fields that should be shown in an ObjectList (through the ObjectList.Fields property).

public class 

ObjectListFieldCollection : ArrayListCollectionBase, IObjectListFieldCollection, System.Web. UI.IStateManager { // Public Instance Properties public ObjectListField

this [int

index ]{get; } // implements IObjectListFieldCollection // Public Instance Methods public void

Add (ObjectListField

field ); public void

AddAt (int

index , ObjectListField

field ); public void

Clear ( ); public ObjectListField[ ]

GetAll ( ); // implements IObjectListFieldCollection public int

IndexOf (ObjectListField

field ); // implements IObjectListFieldCollection public int

IndexOf (string

fieldIDOrName ); // implements IObjectListFieldCollection public void

Remove (ObjectListField

field ); public void

RemoveAt (int

index ); public void

SetAll (ObjectListField[ ]

value ); }

Hierarchy

System.Object ArrayListCollectionBase(System.Collections.ICollection, System.Collections.IEnumerable) ObjectListFieldCollection(IObjectListFieldCollection, System.Web.UI.IStateManager)

Returned By

ObjectList.Fields