共用方式為


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 檔案系統的規則進行分析。

適用於