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!

DesignOnlyAttribute Class

Specifies that a property can be set only at design time.

Object
   Attribute
      MemberAttribute
         DesignOnlyAttribute

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

Remarks

Members marked with DesignOnly(true) can be set only at design time. Members that either have no attribute or are marked with DesignOnly(false) can be set during run time. The default is false.

For more information, see TBD and TBD.

Requirements

Namespace: System.ComponentModel

Assembly: System.dll

See Also

System.ComponentModel Namespace | MemberAttribute | PropertyDescriptor