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)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As SPContentType
Get
'Usage
Dim instance As SPContentTypeCollection
Dim index As Integer
Dim value As SPContentType
value = instance(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