共用方式為


SPContext.LoadContentTypes property

取得或設定布林值,指定是否要包含的內容類型的欄位,實作以傳回欄位的Fields屬性時與相關聯的項目。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property LoadContentTypes As Boolean
    Get
    Set
'用途
Dim instance As SPContext
Dim value As Boolean

value = instance.LoadContentTypes

instance.LoadContentTypes = value
public bool LoadContentTypes { get; set; }

Property value

Type: System.Boolean
true来包含的內容類型的欄位 ;否則, false。

請參閱

參照

SPContext class

SPContext members

Microsoft.SharePoint namespace