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 );
If a path is rooted, FixedPath is set to true, otherwise is is set to false
Exception Type | Condition |
---|---|
ArgumentNullException | path is a a null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | path is an empty string. |
PathItemBase Class | NDoc.Core Namespace | PathItemBase Constructor Overload List