DesignTimeOnly Property
Collapse the table of content
Expand the table of content

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
public virtual bool DesignTimeOnly {get;}
public: __property virtual bool get_DesignTimeOnly();
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.


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


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

© 2016 Microsoft