Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPContentType.ReadOnly property

Gets or sets whether the content type is read-only.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableAttribute]
public bool ReadOnly { get; set; }

Property value

Type: System.Boolean
true if the content type is read-only; otherwise false.

Marking a content type as read-only warns users that they should not make changes to the content type. The user must then explicitly set the read-only property of the content type to false to make changes to the content type.

For more information, see Content Type Change Control.

If you define a content type as read-only, that can have ramifications when you make changes to its parent content type and then attempt to propagate those changes down through the hierarchy. For more information, see Updating Child Content Types.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.