[This is preliminary documentation and is subject to change.]
Sets a string attribute for the current instance.
Syntax
| C# |
|---|
public void SetString( Attributes attribute, string value ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetString ( _ attribute As Attributes, _ value As String _ ) |
Parameters
- attribute
- Type: AW..::.Attributes
The attribute to be set.
- value
- Type: System..::.String
The value of the attribute being set.
Exceptions
| Exception | Condition |
|---|---|
| AW..::.InstanceException | Thrown when the instance failed to set the attribute. |
| AW..::.InstanceException | Thrown when the instance cannot be set properly. (i.e. the instance has been destroyed or is not valid). |