SPWebTemplateCollection.Count property

Gets the number of site definition configurations and Web templates in the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As SPWebTemplateCollection
Dim value As Integer

value = instance.Count
public override int Count { get; }

Property value

Type: System.Int32
An Int32 that represents the number of site definition configurations and Web templates.

Implements

ICollection.Count

See also

Reference

SPWebTemplateCollection class

SPWebTemplateCollection members

Microsoft.SharePoint namespace