Share via


SimpleFileVisitor.PreVisitDirectory(Object, IBasicFileAttributes) Method

Definition

Invoked for a directory before entries in the directory are visited.

[Android.Runtime.Register("preVisitDirectory", "(Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;", "GetPreVisitDirectory_Ljava_lang_Object_Ljava_nio_file_attribute_BasicFileAttributes_Handler", ApiSince=26)]
public virtual Java.Nio.FileNio.FileVisitResult? PreVisitDirectory (Java.Lang.Object? dir, Java.Nio.FileNio.Attributes.IBasicFileAttributes? attrs);
[<Android.Runtime.Register("preVisitDirectory", "(Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;", "GetPreVisitDirectory_Ljava_lang_Object_Ljava_nio_file_attribute_BasicFileAttributes_Handler", ApiSince=26)>]
abstract member PreVisitDirectory : Java.Lang.Object * Java.Nio.FileNio.Attributes.IBasicFileAttributes -> Java.Nio.FileNio.FileVisitResult
override this.PreVisitDirectory : Java.Lang.Object * Java.Nio.FileNio.Attributes.IBasicFileAttributes -> Java.Nio.FileNio.FileVisitResult

Parameters

dir
Object

Returns

Implements

Attributes

Remarks

Invoked for a directory before entries in the directory are visited.

Unless overridden, this method returns FileVisitResult#CONTINUE CONTINUE.

Java documentation for java.nio.file.SimpleFileVisitor.preVisitDirectory(T, java.nio.file.attribute.BasicFileAttributes).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to