VistaDB 6
VistaDB.DDA Namespace / IVistaDBIndexCollection Interface / Remove Method
The object to remove from the System.Collections.Generic.ICollection`1.


In This Topic
    Remove Method (IVistaDBIndexCollection)
    In This Topic
    Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection`1.
    Syntax
    'Declaration
     
    
    <__DynamicallyInvokableAttribute()>
    Function Remove( _
       ByVal item As IVistaDBIndexInformation _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As IVistaDBIndexCollection
    Dim item As IVistaDBIndexInformation
    Dim value As System.Boolean
     
    value = instance.Remove(item)
    [__DynamicallyInvokable()]
    System.bool Remove( 
       IVistaDBIndexInformation item
    )

    Parameters

    item
    The object to remove from the System.Collections.Generic.ICollection`1.

    Return Value

    true if item was successfully removed from the System.Collections.Generic.ICollection`1; otherwise, false. This method also returns false if item is not found in the original System.Collections.Generic.ICollection`1.
    Exceptions
    ExceptionDescription
    The System.Collections.Generic.ICollection`1 is read-only.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also