共用方式為


SP.Field.readOnlyField Property

Applies to: SharePoint Foundation 2010

Gets or sets a value that specifies whether the value of the field is read-only.

var value = SP.Field.get_readOnlyField(); 
SP.Field.set_readOnlyField(value);

Property Value

Type: Boolean

Applies To

SP.Field Class

Exceptions

See Also

Reference

SP.Field Methods

SP.Field Properties

SP Namespace