OTX Reference  
OpenTestSystem.Otx.Extensions.Range.Actions.SetRangedStringValue Class Reference

Sets the value of the given RangedString More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.Range.Actions.SetRangedStringValue:
Inheritance graph

Public Attributes

RangedStringVariable rangedObject
 This is the variable which refers to the RangedString. More...
 
StringTerm value
 Represents the value of the RangedString. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Cardinality [0..1]
Validity of ActionRealisation. More...
 

Detailed Description

Sets the value of the given RangedString

SetRangedStringValue sets the value of the given RangedString.

Syntax
Range.SetRangedStringValue(RangedStringVariable rangedObject, StringTerm value);
StringTerm value
Represents the value of the RangedString.
Definition: Range.cs:611
RangedStringVariable rangedObject
This is the variable which refers to the RangedString.
Definition: Range.cs:601
Examples
// Local Declarations
Range.StringInterval StringInterval1;
List<Range.StringInterval> ListInterval1;
Range.RangedString RangedString1;
String Value1;
// Flow
StringInterval1 = Range.CreateStringInterval("e?l", @IntervalSemantic:SUCCESS, "Label1");
ListAppendItems(ListInterval1, {StringInterval1});
RangedString1 = Range.CreateRangedString("hello world", ListInterval1);
Value1 = Range.GetRangedStringValue(RangedString1);
Range.SetRangedStringValue(RangedString1, "she saw the sea");
Value1 = Range.GetRangedStringValue(RangedString1);

Member Data Documentation

◆ rangedObject

RangedStringVariable OpenTestSystem.Otx.Extensions.Range.Actions.SetRangedStringValue.rangedObject

This is the variable which refers to the RangedString.

◆ value

StringTerm OpenTestSystem.Otx.Extensions.Range.Actions.SetRangedStringValue.value

Represents the value of the RangedString.