Class ListValue
A special list of objects.
Implements
System.Runtime.Serialization.IDeserializationCallback
Inherited Members
Namespace: ABB.Robotics.Controllers.UserAuthorizationManagement
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class ListValue : ReadOnlyObject, IDeserializationCallback
Constructors
ListValue()
Initializes a new instance of the ListValue class.
Declaration
public ListValue()
ListValue(String[])
Initializes a new instance of the ListValue class.
Declaration
public ListValue(string[] value)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | value | The value. |
Properties
Value
Declaration
public string[] Value { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Methods
Add(String)
Adds a string to the collection.
Declaration
public int Add(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
System.Int32 |
Clear()
Clears the collection.
Declaration
public void Clear()
Contains(String)
Checks (by name) if the the collection contains a specific string.
Declaration
public bool Contains(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
System.Boolean |
IndexOf(String)
Retrieves the index of a specific string. Returns -1 if the string cannot be found.
Declaration
public int IndexOf(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
System.Int32 |
Insert(Int32, String)
Inserts a string into the collection.
Declaration
public void Insert(int index, string value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.String | value |
Remove(String)
Removes a string from the collection.
Declaration
public void Remove(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
RemoveAt(Int32)
Removes a string at a specific index.
Declaration
public void RemoveAt(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value |
Implements
System.Runtime.Serialization.IDeserializationCallback