[This is preliminary documentation and is subject to change.]

Sets a boolean attribute for the current instance.

Syntax

C#
public void SetBool(
	Attributes attribute,
	bool value
)
Visual Basic (Declaration)
Public Sub SetBool ( _
	attribute As Attributes, _
	value As Boolean _
)

Parameters

attribute
Type: AW..::.Attributes
The attribute to be set.
value
Type: System..::.Boolean
The value of the attribute being set.

Exceptions

ExceptionCondition
AW..::.InstanceExceptionThrown when the instance failed to set the attribute.
AW..::.InstanceExceptionThrown when the instance cannot be set properly. (i.e. the instance has been destroyed or is not valid).

See Also