NDoc 1.3.1 SDK |

# AssemblySlashDocCollection.Remove Method

Removes the first occurence of a specific AssemblySlashDoc from the collection.

    [Visual Basic]
    Public Sub Remove( _
       ByVal assySlashDoc As AssemblySlashDoc _
    )
    [C#]
    public void Remove(
       AssemblySlashDoc assySlashDoc
    );
    [C++]
    public: void Remove(
       AssemblySlashDoc* assySlashDoc
    );
    [JScript]
    public function Remove(
       AssemblySlashDoc assySlashDoc
    );

#### Parameters

assySlashDoc
  The AssemblySlashDoc to remove from the collection.

#### Remarks

Elements that follow the removed element move up to occupy the vacated spot and the indexes of the elements that are moved are also updated.

#### Exceptions

Exception Type | Condition
--- | ---
ArgumentNullException | assySlashDoc is a a null reference (Nothing in Visual Basic).

#### See Also

AssemblySlashDocCollection Class | NDoc.Core Namespace