TemplateGroupCollection.Count Property

Gets the number of TemplateGroup objects in the collection.

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

public:
property int Count {
	int get ();
}
/** @property */
public int get_Count ()

public function get Count () : int

Not applicable.

Property Value

The number of TemplateGroup objects in the collection.

The Count property generally is used to determine the upper boundary index when iterating through objects in the collection. Because the collection indexes are zero-based, the first element is at index 0 and the last element is at index Count-1.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: