MemberDescriptor.DesignTimeOnly Property

Definition

Ruft ab, ob dieser Member nur zur Entwurfszeit festgelegt werden darf. Dies ist in der DesignOnlyAttribute-Klasse angegeben.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

Boolean

true, wenn dieser Member nur zur Entwurfszeit festgelegt werden darf, false, wenn der Member zur Laufzeit festgelegt werden kann.true if this member should be set only at design time; false if the member can be set during run time.

Remarks

Wenn keine DesignOnlyAttribute-Klasse vorhanden ist, wird der Standardwert false zurückgegeben.If there is no DesignOnlyAttribute, the return value is the default, which is false.

Applies to

See also