Gets the collection of all content type templates that apply to the current scope, including those of the current Web site, as well as any parent Web sites.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)

Syntax
Visual Basic (Declaration)
Public ReadOnly Property AvailableContentTypes As SPContentTypeCollection
Dim instance As SPWeb
Dim value As SPContentTypeCollection
value = instance.AvailableContentTypes
public SPContentTypeCollection AvailableContentTypes { get; }
Property Value
An
SPContentTypeCollection object that represents the content types.

Remarks
Use the ContentTypes property to return only the content types of the current Web site.

See Also