adTempus API
ArcanaDevelopment.adTempus.Client.Collections Namespace / ADTObjectCollectionT<T> Class / Remove Method / Remove(Object) Method
An object, OID, or numeric index. See Remarks.


In This Topic
    Remove(Object) Method
    In This Topic
    Removes the specified object, OID, or index
    Syntax
    'Declaration
     
    
    Public Overloads Sub Remove( _
       ByVal index As Object _
    ) 
    public void Remove( 
       object index
    )
    public:
    void Remove( 
       Object^ index
    ) 

    Parameters

    index
    An object, OID, or numeric index. See Remarks.
    Remarks

    The index can be any of the following:

    • An object of type T. If an object with the same OID Is found it is removed from the collection. Note that this match does not use reference equality: if you pass a different copy of the object that has the same OID as an object in the collection, the object in the collection will be removed.
    • An ArcanaDevelopment.adTempus.Shared.OID or a string representation of an OID. The object with the specified OID is removed if present
    • An integer index. The object at the specified index is removed.
    See Also