NDoc 1.3.1 SDK |

# ReferencePath Constructor (String)

Initializes a new instance of the ReferencePath class from a given path string.

    [Visual Basic]
    Public Sub New( _
       ByVal path As String _
    )
    [C#]
    public ReferencePath(
       string path
    );
    [C++]
    public: ReferencePath(
       String* path
    );
    [JScript]
    public function ReferencePath(
       String path
    );

#### Parameters

path
  A relative or absolute path.

#### Remarks

If path end with "**" then IncludeSubDirectories will be set to true.

#### Exceptions

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

#### See Also

ReferencePath Class | NDoc.Core Namespace | ReferencePath Constructor Overload List