[This is preliminary documentation and is subject to change.]

Adds an item to the IList.

Namespace: Tools.CollectionsT.GenericT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Use type-safe overload instead")]
public override sealed int IList_Add(
	Object value
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
<ObsoleteAttribute("Use type-safe overload instead")> _
Public Overrides NotOverridable Function IList_Add ( _
	value As Object _
) As Integer
Visual C++
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"Use type-safe overload instead")]
public:
virtual int IList_Add(
	Object^ value
) override sealed
F#
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("Use type-safe overload instead")>]
abstract IList_Add : 
        value:Object -> int 
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("Use type-safe overload instead")>]
override IList_Add : 
        value:Object -> int 
JScript
public override final function IList_Add(
	value : Object
) : int

Parameters

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

Return Value

The position into which the new element was inserted.

Remarks

Provided for compatibility with CollectionEditor

Exceptions

ExceptionCondition
Tools..::..TypeMismatchExceptionvalue cannot be converted into type T
System..::..InvalidOperationExceptionLocked is True

See Also

Collapse/expand Version History

1.5.2

1.5.3