Partager via


Item(String) Property

The Item property of the SPWebTemplateCollection class gets the site definition or site template object with the specified name from the collection.

[C#] In C#, this property is an indexer for the SPWebTemplateCollection class.

Parameters

strName   A string that contains the name.

Property Value

A Microsoft.SharePoint.SPWebTemplate object that represents the site definition or site template.

Remarks

The Item property is an indexer for the SPWebTemplateCollection class.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security