Bewerken

Share via


DesignOnlyAttribute(Boolean) Constructor

Definition

Initializes a new instance of the DesignOnlyAttribute class.

public:
 DesignOnlyAttribute(bool isDesignOnly);
public DesignOnlyAttribute (bool isDesignOnly);
new System.ComponentModel.DesignOnlyAttribute : bool -> System.ComponentModel.DesignOnlyAttribute
Public Sub New (isDesignOnly As Boolean)

Parameters

isDesignOnly
Boolean

true if a property can be set only at design time; false if the property can be set at design time and at run time.

Applies to