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!

ServerExplorerReadOnlyAttribute Class

Specifies that a property is read-only in the server explorer.

Object
   Attribute
      MemberAttribute
         ServerExplorerReadOnlyAttribute

[Visual Basic]
Public Class ServerExplorerReadOnlyAttribute
   Inherits MemberAttribute
[C#]
public class ServerExplorerReadOnlyAttribute : MemberAttribute
[C++]
public __gc class ServerExplorerReadOnlyAttribute : public
   MemberAttribute
[JScript]
public class ServerExplorerReadOnlyAttribute extends
   MemberAttribute

Remarks

Members that are marked with ServerExplorerReadOnly(true) or that do not have a Set method cannot be changed in the server explorer. Members that do not have this attribute or that are marked with ServerExplorerReadOnly(false) are read-write, and they may be changed. The default is false.

Note   When you mark a property with ServerExplorerReadOnly(true), the value of this attribute is set to the constant member ServerExplorerReadOnlyAttribute.Yes. For a property marked with ServerExplorerReadOnly(false), the value is ServerExplorerReadOnlyAttribute.No. Therefore, when you want to check the value of this attribute in your code, you must specify the attribute as ServerExplorerReadOnlyAttribute.Yes or ServerExplorerReadOnlyAttribute.No.

For more information, see TBD and TBD.

Requirements

Namespace: System.ComponentModel

Assembly: System.dll

See Also

System.ComponentModel Namespace | MemberAttribute | PropertyDescriptor