System::IO::Path::HasExtension method

Path::HasExtension method

Determines if the specified path references a file with extension.

static bool System::IO::Path::HasExtension(const String &path)
ParameterTypeDescription
pathconst String&A path to check

ReturnValue

True if path references a file with extension, otherwise - false

See Also