다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

value = instance.Item(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