EnumerationOptions.IgnoreInaccessible 屬性

定義

取得或設定值,指出是否要在存取遭拒絕時略過檔案或目錄 (例如 UnauthorizedAccessExceptionSecurityException)。

public:
 property bool IgnoreInaccessible { bool get(); void set(bool value); };
public bool IgnoreInaccessible { get; set; }
member this.IgnoreInaccessible : bool with get, set
Public Property IgnoreInaccessible As Boolean

屬性值

true 表示略過易懂的檔案或目錄;否則為 false。 預設為 true

適用於