In C#, you can access the built-in properties by using the native syntax for accessing properties of objects.

The following code obtains the value of the Name property from a Sequence object:

private void Example (Sequence sequenceObj)

{

String nameString = sequenceObj.Name;

}

The following code obtains a reference to a step of a sequence the Sequence object references:

private void Example (SequenceContext contextObj)

{

Sequence sequenceObj;

Step stepObj;

sequenceObj = contextObj.Sequence;

stepObj = sequenceObj.GetStep(2, StepGroups.StepGroup_Main);

}