Count Property

The Count property of the SPWebTemplateCollection class gets the number of site definitions or site templates in the collection.

Property Value

A 32-bit integer that indicates the number of site definitions or site templates.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security