共用方式為


SP.ContentTypeCreationInformation.parentContentType Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

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

var value = SP.ContentTypeCreationInformation.get_parentContentType(); 
SP.ContentTypeCreationInformation.set_parentContentType(value);

Property Value

Type: SP.ContentType

Applies To

SP.ContentTypeCreationInformation Class

Remarks

The list the parent content type belongs to must be null.

See Also

Reference

SP.ContentTypeCreationInformation Methods

SP.ContentTypeCreationInformation Properties

SP Namespace