Class AttributeNode
Holds name and value for an attribute.
Implements
Namespace: ABB.Robotics.Controllers.Configuration
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class AttributeNode : INode
Constructors
AttributeNode(String, String)
Initializes a new attribute instance.
Declaration
public AttributeNode(string text, string value)
Parameters
Type | Name | Description |
---|---|---|
String | text | The name. |
String | value | The value. |
Properties
Text
Gets/Sets the name.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
String |
Value
Gets/Sets the value.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
Equals(AttributeNode)
Checks two attrbute nodes for eqaulity.
Declaration
public bool Equals(AttributeNode attribute)
Parameters
Type | Name | Description |
---|---|---|
AttributeNode | attribute | The 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 text/name and value of the object. |