共用方式為


ContentTypeCreationInformation.ParentContentType 屬性

取得或設定值,對於將建構的內容類型指定父系內容類型。

命名空間:  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 Property ParentContentType As ContentType
    Get
    Set
'用途
Dim instance As ContentTypeCreationInformation
Dim value As ContentType

value = instance.ParentContentType

instance.ParentContentType = value
public ContentType ParentContentType { get; set; }

屬性值

類型:Microsoft.SharePoint.Client.ContentType
傳回代表建構的內容類型的上層內容類型的ContentType執行個體。

備註

上層內容類型所屬的清單必須null 參考 (未執行任何動作 於 Visual Basic 中)。

請參閱

參照

ContentTypeCreationInformation 類別

ContentTypeCreationInformation 成員

Microsoft.SharePoint.Client 命名空間