ComponentSpace State Picker Control Reference

StateCollection.GetState Method 

Get the state in the list with the specfied name.

[Visual Basic]
Public Function GetState( _
   ByVal stateName As String _
) As State
[C#]
public State GetState(
   string stateName
);

Parameters

stateName
The name of the state to retrieve.

Return Value

The state with the specified name or null.

See Also

StateCollection Class | ComponentSpace.StatePicker Namespace