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 );
If the path in refPath matches one already existing in the collection, the operation is silently ignored.
Exception Type | Condition |
---|---|
ArgumentNullException | refPath is a a null reference (Nothing in Visual Basic). |
ReferencePathCollection Class | NDoc.Core Namespace