NDoc 1.3.1 SDK |

# AssemblySlashDocCollection.Add Method

Adds the specified AssemblySlashDoc object to the collection.

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

#### Parameters

assySlashDoc
  The AssemblySlashDoc to add to the collection.

#### Remarks

If the path of the Assembly in assySlashDoc matches one already existing in the collection, the operation is silently ignored.

#### Exceptions

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

#### See Also

AssemblySlashDocCollection Class | NDoc.Core Namespace