Uri.IsBadFileSystemCharacter(Char) 方法

定义

注意

The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202

注意

Uri.IsBadFileSystemCharacter has been deprecated and is not supported.

注意

The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202

指示字符是否在文件系统名称中无效。

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

参数

character
Char

要测试的 Char

返回

Boolean

如果指定的字符无效,则为 true;否则为 false

属性

注解

根据 NTFS 文件系统的规则分析字符。

适用于