When creating new parts using the part creating dialog you need to enter a relative path for storing the new part. Something like
/mydirectory/mypart.xml
I check whether you enter a valid path, for one it may not be absolute but relative like the one above. But when you enter the path above, you get an error stating that an absolute path is not allowed. If you enter it like the following:
mydirectory/mypart.xml
all is ok. The check is done with Path.IsPathRooted, and the documentation states:
Gets a value indicating whether the specified path string contains absolute or relative path information
And it has samples:
C:\mydir\myfile.ext --> absolute
\\myPc\mydir\myfile --> unc path which is absolute
mydir\subdir --> relative
So, either I don't understand my Path 101 but the framework is in error here.