Share via


FormControl.autoDeclaration Method

Definition

Overloads

autoDeclaration(Boolean)
autoDeclaration()

Determines whether the system can declare a member variable that has the same name as the control.

autoDeclaration(Boolean)

public:
 virtual bool autoDeclaration(bool _value);
public virtual bool autoDeclaration (bool _value);
abstract member autoDeclaration : bool -> bool
override this.autoDeclaration : bool -> bool
Public Overridable Function autoDeclaration (_value As Boolean) As Boolean

Parameters

_value
Boolean

The value to set the property to, if a value is supplied.

Returns

Applies to

autoDeclaration()

Determines whether the system can declare a member variable that has the same name as the control.

public:
 virtual bool autoDeclaration();
public virtual bool autoDeclaration ();
abstract member autoDeclaration : unit -> bool
override this.autoDeclaration : unit -> bool
Public Overridable Function autoDeclaration () As Boolean

Returns

true if the member variable can be declared for this control; otherwise, false.

Remarks

Controls cannot have identical names.

Applies to