Back to API Home

Adds an item to the IList.

Namespace: Dundas.Dashboard.Business
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
int IList.Add(
	Object value
)
Visual Basic
Private Function Add ( 
	value As Object
) As Integer Implements IList.Add

Parameters

value
Type: System..::..Object
The object to add to the IList.

Return Value

Type: Int32
The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection,

Implements

IList..::..Add(Object)

Remarks

This method is here so that the deserializer can add NamedTokens to the TokenId collection.

Exceptions

ExceptionCondition
System..::..NotSupportedExceptionThe IList is read-only.-or- The IList has a fixed size.

See Also