Class IonControlPointCollection
Represents a collection of machine parameters that describe the planned proton beam.
Implements
System.Xml.Serialization.IXmlSerializable
System.Collections.Generic.IEnumerable<IonControlPoint>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: VMS.TPS.Common.Model.API
Assembly: VMS.TPS.Common.Model.API.dll
Syntax
public class IonControlPointCollection : SerializableObject, IXmlSerializable, IEnumerable<IonControlPoint>, IEnumerable
Properties
Count
The number of control points in the collection.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32]
Gets the specified IonControlPoint from the collection.
Declaration
public IonControlPoint this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Zero based index of the IonControlPoint to retrieve. |
Property Value
Type | Description |
---|---|
IonControlPoint | IonControlPoint at the given index. |
Methods
GetEnumerator()
Retrieves enumerator for IonControlPoints in the collection.
Declaration
public IEnumerator<IonControlPoint> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<IonControlPoint> | Enumerator for IonControlPoints in the collection. |
WriteXml(XmlWriter)
Converts an object into its XML representation. For more information on how to serialize an object into an XML document, see System.Xml.Serialization.XmlSerializer.
Declaration
public override void WriteXml(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | writer | The System.Xml.XmlWriter stream, to which the object is serialized. |
Overrides
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Xml.Serialization.IXmlSerializable
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable