다음을 통해 공유


Web.ContentTypes Property

Gets the collection of content types for the Web site.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property ContentTypes As ContentTypeCollection
    Get
'Usage
Dim instance As Web
Dim value As ContentTypeCollection

value = instance.ContentTypes
[RemoteAttribute]
public ContentTypeCollection ContentTypes { get; }

Property Value

Type: Microsoft.SharePoint.Client.ContentTypeCollection
A ContentTypeCollection object that represents the content types.

Remarks

It must not be a null reference (Nothing in Visual Basic).

See Also

Reference

Web Class

Web Members

Microsoft.SharePoint.Client Namespace