Freigeben über


Web.AvailableContentTypes-Eigenschaft

Gets the collection of all content types that apply to the current scope, including those of the current Web site, as well as any parent Web sites.

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

Syntax

'Declaration
Public ReadOnly Property AvailableContentTypes As ContentTypeCollection
    Get
'Usage
Dim instance As Web
Dim value As ContentTypeCollection

value = instance.AvailableContentTypes
public ContentTypeCollection AvailableContentTypes { get; }

Eigenschaftswert

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

Hinweise

It must not be ein Nullverweis (Nothing in Visual Basic).

Siehe auch

Referenz

Web Klasse

Web-Member

Microsoft.SharePoint.Client-Namespace