Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
SPList Class
SPList Properties
 ContentTypes Property

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
SPList.ContentTypes Property (Microsoft.SharePoint)
Gets the content types that are associated with the list.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public ReadOnly Property ContentTypes As SPContentTypeCollection
Visual Basic (Usage)
Dim instance As SPList
Dim value As SPContentTypeCollection

value = instance.ContentTypes
C#
public SPContentTypeCollection ContentTypes { get; }

Property Value

An SPContentTypeCollection collection that contains the content types that are associated with the list.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker