Class InstanceNode
Holds data for a cfg instance.
Implements
Inherited Members
System.Collections.ObjectModel.Collection<ABB.Robotics.Controllers.Configuration.AttributeNode>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<ABB.Robotics.Controllers.Configuration.AttributeNode>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<ABB.Robotics.Controllers.Configuration.AttributeNode>.System.Collections.IList.Insert(System.Int32, System.Object)
Namespace: ABB.Robotics.Controllers.Configuration
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class InstanceNode : Collection<AttributeNode>, IList<AttributeNode>, ICollection<AttributeNode>, IList, ICollection, IReadOnlyList<AttributeNode>, IReadOnlyCollection<AttributeNode>, IEnumerable<AttributeNode>, IEnumerable, INode
Constructors
InstanceNode()
Initializes a unnamed instance node.
Declaration
public InstanceNode()
InstanceNode(String)
Initializes a named instance node.
Declaration
public InstanceNode(string text)
Parameters
Type | Name | Description |
---|---|---|
String | text | The name of the instance. |
Properties
Text
Gets the name of the instance.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
Equals(InstanceNode)
Checks if two instances are equal.
Declaration
public bool Equals(InstanceNode instance)
Parameters
Type | Name | Description |
---|---|---|
InstanceNode | instance | The instance to compare with. |
Returns
Type | Description |
---|---|
Boolean | True if the nodes are equal. |
ToString()
Returns the string representation of this object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The name of the object. |