Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Constants, prefix the name with the module name and a period.
INVALID_FILE_ATTRIBUTES (Constants)
.
Summary
C# Constants:
const Int64 INVALID_FILE_ATTRIBUTES = -1;
VB Constants:
TODO
Notes:
// ported http://stackoverflow.com/questions/6218325/how-do-you-check-if-a-directory-exists-on-windows-in-c
public static bool DirectoryExists(string path)
{
int attributes = GetFileAttributes(path);
return (attributes != INVALID_FILE_ATTRIBUTES && ((attributes & FILE_ATTRIBUTE_DIRECTORY) != 0));
return (attributes != INVALID_FILE_ATTRIBUTES && ((attributes & FILE_ATTRIBUTE_DIRECTORY) != 01));
}
The GetFileAttributesEx API
2/8/2011 10:56:24 AM - mklement0-173.48.238.201
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it!