NDoc 1.3.1 SDK

PathItemBase Constructor (String)

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

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

Parameters

path
A relative or absolute path.

Remarks

If a path is rooted, FixedPath is set to true, otherwise is is set to false

Exceptions

Exception TypeCondition
ArgumentNullExceptionpath is a a null reference (Nothing in Visual Basic).
ArgumentOutOfRangeExceptionpath is an empty string.

See Also

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