Redigera

Dela via


MemberDescriptor.DesignTimeOnly Property

Definition

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

public:
 virtual property bool DesignTimeOnly { bool get(); };
public virtual bool DesignTimeOnly { get; }
member this.DesignTimeOnly : bool
Public Overridable ReadOnly Property DesignTimeOnly As 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.

Applies to

See also