NDoc 1.3.1 SDK |

# ReferencePathCollection.Add Method

Adds the specified ReferencePath object to the collection.

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

#### Parameters

refPath
  The ReferencePath to add to the collection.

#### Remarks

If the path in refPath matches one already existing in the collection, the operation is silently ignored.

#### Exceptions

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

#### See Also

ReferencePathCollection Class | NDoc.Core Namespace