ContentType.ReadOnly property

Gets or sets a value that specifies whether changes to the content type properties are denied.

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

Syntax

'Declaration
Public Property ReadOnly As Boolean
    Get
    Set
'Usage
Dim instance As ContentType
Dim value As Boolean

value = instance.ReadOnly

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

Property value

Type: System.Boolean
Returns Boolean. true if changes to the content type properties are denied; otherwise, false.

See also

Reference

ContentType class

ContentType members

Microsoft.SharePoint.Client namespace