.NET Framework Class Library
File.ValidFileName Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > File Class > File Methods > .NET Framework Class Library |
Checks that the assigned filename is a valid operating system file name.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function ValidFileName ( _ fileName As String _ |
C# |
|---|
public bool ValidFileName( string fileName |
Visual C++ |
|---|
public: bool ValidFileName( |
JavaScript |
|---|
function validFileName(fileName); |
Parameters
fileName
Type: System.String
name of the file to check
Return Value
TRUE if the file name is valid, FALSE otherwise
Remarks
See Also