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 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