Class ApplicationGrantCollection
A collection of application grant objects.
Inheritance
ControllerAPI.Internal.EnumerableTCollectionBase<ApplicationGrantInfo>
ApplicationGrantCollection
Inherited Members
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
Namespace: ABB.Robotics.Controllers.UserAuthorizationManagement
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class ApplicationGrantCollection : UasCollectionBase<ApplicationGrantInfo>, IList, ICollection, IEnumerable<ApplicationGrantInfo>, IEnumerable
Constructors
ApplicationGrantCollection()
Initializes a new instance of the ApplicationGrantCollection class.
Declaration
public ApplicationGrantCollection()
Properties
Item[Int32]
Gets or sets the ApplicationGrantInfo at the specified index.
Declaration
public ApplicationGrantInfo this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
ApplicationGrantInfo | The value at specified index. |
Methods
Add(ApplicationGrantInfo)
Adds an applicationgrant to the collection.
Declaration
public int Add(ApplicationGrantInfo value)
Parameters
Type | Name | Description |
---|---|---|
ApplicationGrantInfo | value |
Returns
Type | Description |
---|---|
Int32 |
Clear()
Clears the collection.
Declaration
public void Clear()
Contains(ApplicationGrantInfo)
Checks (by name) if the the collection contains a specific applicationgrant.
Declaration
public bool Contains(ApplicationGrantInfo value)
Parameters
Type | Name | Description |
---|---|---|
ApplicationGrantInfo | value |
Returns
Type | Description |
---|---|
Boolean |
IndexOf(ApplicationGrantInfo)
Retrieves the index of a specific applicationgrant. Returns -1 if the applicationgrant can't be found.
Declaration
public int IndexOf(ApplicationGrantInfo value)
Parameters
Type | Name | Description |
---|---|---|
ApplicationGrantInfo | value |
Returns
Type | Description |
---|---|
Int32 |
Insert(Int32, ApplicationGrantInfo)
Inserts an application grant into the collection.
Declaration
public void Insert(int index, ApplicationGrantInfo value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | |
ApplicationGrantInfo | value |
Remove(ApplicationGrantInfo)
Removes an applicationgrant from the collection.
Declaration
public void Remove(ApplicationGrantInfo value)
Parameters
Type | Name | Description |
---|---|---|
ApplicationGrantInfo | value |
RemoveAt(Int32)
Removes an applicationgrant at a specific index.
Declaration
public void RemoveAt(int value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | value |