DesignOnlyAttribute(Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.