Partager via


ContentType.ReadOnly Property

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

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 ReadOnly As Boolean
    Get
    Set
'Usage
Dim instance As ContentType
Dim value As Boolean

value = instance.ReadOnly

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

Property Value

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

See Also

Reference

ContentType Class

ContentType Members

Microsoft.SharePoint.Client Namespace