NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ICodeElement.ReadOnly

Gets the current read-only status of this element.

[Visual Basic]
Property ReadOnly As Boolean
[C#]
bool ReadOnly {get; set;}
[C++]
bool get_ReadOnly() = 0;void set_ReadOnly(bool) = 0;
[JScript]
abstract function get ReadOnly() : Boolean;
public abstract function set ReadOnly(Boolean);

Remarks

When a element is set to be read-only, the text editor will prevent the user from editing that section of code.

See Also

ICodeElement Interface | ICodeElement Members | System.ComponentModel.Design.CodeModel Namespace