Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property Item ( _
strKey As String _
) As SPWebTemplate
Get
'Usage
Dim instance As SPWebTemplateCollection
Dim strKey As String
Dim value As SPWebTemplate
value = instance.Item(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.