compiling problem in managed c++ code

I recently updated to C++.Net and am writing managed c++ code. I found a problem when calling the static function Path::GetTempFileName (actually I haven't had luck with any of the Path functions)
My code is
String* path = Path::GetTempFileName();
When I compiled my file, the compiler complaints:
error C2039: '\GetTeampPathA': is not a memeber of 'System::IO::Path'
error C2660: 'GetTempPathA': function does not take 0 parameters
MSDN provides no sample code as how to use Path in C++. I am wondering if this is intentionally? Does anybody have any experience with System::IO::Path class?

Leigh
[669 byte] By [Leigh] at [2007-11-17 22:35:45]