Uri.IsBadFileSystemCharacter(Char) Uri.IsBadFileSystemCharacter(Char) Uri.IsBadFileSystemCharacter(Char) Uri.IsBadFileSystemCharacter(Char) Method

Definition

Warning

This API is now obsolete.

Gets whether a character is invalid in a file system name.

protected:
 virtual bool IsBadFileSystemCharacter(char character);
[System.Obsolete("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")]
[System.Obsolete("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual bool IsBadFileSystemCharacter (char character);
abstract member IsBadFileSystemCharacter : char -> bool
override this.IsBadFileSystemCharacter : char -> bool
Protected Overridable Function IsBadFileSystemCharacter (character As Char) As Boolean

Parameters

character
Char Char Char Char

The Char to test.

Returns

true if the specified character is invalid; otherwise, false.

Remarks

The character is analyzed according to the rules for the NTFS file system.

Applies to