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 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
strName
Type: System.StringA string that contains the name.
Property value
Type: Microsoft.SharePoint.SPListTemplate
A Microsoft.SharePoint.SPListTemplate object that represents the list definitions or list template.
See also
Reference
SPListTemplateCollection class