Checks if a file name is valid.
Namespace: Microsoft.WindowsAzure.Storage
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim fileName As String
NameValidator.ValidateFileName(fileName) |
Syntax
Visual Basic |
---|
Public Shared Sub ValidateFileName ( _
fileName As String _
) |
C# |
---|
public static void ValidateFileName (
string fileName
) |
C++ |
---|
public:
static void ValidateFileName (
String^ fileName
) |
J# |
---|
public static void ValidateFileName (
String fileName
) |
JScript |
---|
public static function ValidateFileName (
fileName : String
) |
Parameters
- fileName
A string representing the file name to validate.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also