SPListTemplateCollection.Item property (String)

Gets the list definitions or list template object with the specified name from the collection. In Microsoft Visual C#, this property is an indexer for the SPListTemplateCollection class.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    strName As String _
) As SPListTemplate
    Get
'Usage
Dim instance As SPListTemplateCollection
Dim strName As String
Dim value As SPListTemplate

value = instance(strName)
public SPListTemplate this[
    string strName
] { get; }

Parameters

Property value

Type: Microsoft.SharePoint.SPListTemplate
A Microsoft.SharePoint.SPListTemplate object that represents the list definitions or list template.

See also

Reference

SPListTemplateCollection class

SPListTemplateCollection members

Item overload

Microsoft.SharePoint namespace