SPContentTypeCollection.Item Property (Int32)
Gets the content type at the specified index in 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 ( _
index As Integer _
) As SPContentType
Get
'Usage
Dim instance As SPContentTypeCollection
Dim index As Integer
Dim value As SPContentType
value = instance.Item(index)
public SPContentType this[
int index
] { get; }
Parameters
index
Type: System.Int32The index of the content type within the collection.
Property Value
Type: Microsoft.SharePoint.SPContentType
An SPContentType that represents the specified content type.
See Also
Reference
SPContentTypeCollection Members
Microsoft.SharePoint Namespace