PackageUtilities.ContainsInvalidFileNameChars(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether a string contains characters that are invalid for file names or paths.
public:
static bool ContainsInvalidFileNameChars(System::String ^ name);
public:
static bool ContainsInvalidFileNameChars(Platform::String ^ name);
static bool ContainsInvalidFileNameChars(std::wstring const & name);
public static bool ContainsInvalidFileNameChars (string name);
static member ContainsInvalidFileNameChars : string -> bool
Public Function ContainsInvalidFileNameChars (name As String) As Boolean
Parameters
- name
- String
File name
Returns
true if file name is invalid