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 that has the specified content type identifier (ID).
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 ( _
id As SPContentTypeId _
) As SPContentType
Get
'Usage
Dim instance As SPContentTypeCollection
Dim id As SPContentTypeId
Dim value As SPContentType
value = instance.Item(id)
public SPContentType this[
SPContentTypeId id
] { get; }
Parameters
id
Type: Microsoft.SharePoint.SPContentTypeIdThe content type ID of the content type.
Property Value
Type: Microsoft.SharePoint.SPContentType
An SPContentType that represents the specified content type.
See Also
Reference
SPContentTypeCollection Members
Microsoft.SharePoint Namespace