Export (0) Print
Expand All

MemberDescriptor.DesignTimeOnly Property

Gets whether this member should be set only at design time, as specified in the DesignOnlyAttribute.

[Visual Basic]
Public Overridable ReadOnly Property DesignTimeOnly As Boolean
[C#]
public virtual bool DesignTimeOnly {get;}
[C++]
public: __property virtual bool get_DesignTimeOnly();
[JScript]
public function get DesignTimeOnly() : Boolean;

Property Value

true if this member should be set only at design time; false if the member can be set during run time.

Remarks

If there is no DesignOnlyAttribute, the return value is the default, which is false.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

MemberDescriptor Class | MemberDescriptor Members | System.ComponentModel Namespace | DisplayName

Show:
© 2014 Microsoft