共用方式為


Web.AvailableContentTypes 屬性

取得套用於目前範圍的所有內容類型集合,包括目前網站以及任何上層網站的集合。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public ReadOnly Property AvailableContentTypes As ContentTypeCollection
    Get
'用途
Dim instance As Web
Dim value As ContentTypeCollection

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

屬性值

類型:Microsoft.SharePoint.Client.ContentTypeCollection
代表的內容類型的ContentTypeCollection物件。

備註

它不能null 參考 (未執行任何動作 於 Visual Basic 中)。

請參閱

參照

Web 類別

Web 成員

Microsoft.SharePoint.Client 命名空間