Share via


ContentTypeCreationInformation.ParentContentType Property

Gets or sets a value that specifies the parent content type for the content type that will be constructed.

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 Property ParentContentType As ContentType
    Get
    Set
'Usage
Dim instance As ContentTypeCreationInformation
Dim value As ContentType

value = instance.ParentContentType

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

Property Value

Type: Microsoft.SharePoint.Client.ContentType
Returns a ContentType instance representing the parent content type for the content type that will be constructed.

Remarks

The list the parent content type belongs to must be a null reference (Nothing in Visual Basic).

See Also

Reference

ContentTypeCreationInformation Class

ContentTypeCreationInformation Members

Microsoft.SharePoint.Client Namespace