SPWebTemplateCollection.Item property (String)
Gets the site definition configuration or Web template object with the specified name from the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
strKey As String _
) As SPWebTemplate
Get
'Usage
Dim instance As SPWebTemplateCollection
Dim strKey As String
Dim value As SPWebTemplate
value = instance(strKey)
public SPWebTemplate this[
string strKey
] { get; }
Parameters
- strKey
Type: System.String
Property value
Type: Microsoft.SharePoint.SPWebTemplate
A Microsoft.SharePoint.SPWebTemplate object that represents the site definition configuration or Web template.
Remarks
The Item property is an indexer for the SPWebTemplateCollection class.