NDoc 1.3.1 SDK |

# ReferencePathCollection.Contains Method

Determines whether the collection contains a specified path.

    [Visual Basic]
    Public Function Contains( _
       ByVal path As String _
    ) As Boolean
    [C#]
    public bool Contains(
       string path
    );
    [C++]
    public: bool Contains(
       String* path
    );
    [JScript]
    public function Contains(
       String path
    ): bool;

#### Parameters

path
  The path to locate in the collection.

#### Return Value

true if the collection contains the specified path, otherwise false.

#### Remarks

Path comparison is case-insensitive.

#### Exceptions

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

#### See Also

ReferencePathCollection Class | NDoc.Core Namespace