AtspiUiaSource.ValueSource.SetValue C# (CSharp) Method

SetValue() public method

public SetValue ( string value ) : void
value string
return void
		public void SetValue (string value)
		{
			if (!accessible.StateSet.Contains (StateType.Enabled))
				throw new ElementNotEnabledException ();
			if (!accessible.StateSet.Contains (StateType.Editable))
				throw new InvalidOperationException ();
			if (!editableText.SetTextContents (value))
				Log.Warn ("AtspiUiaSource: SetTextContents failed");
				return;
		}