SimpleFileVisitor.PostVisitDirectory(Object, IOException) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invoked for a directory after entries in the directory, and all of their descendants, have been visited.
[Android.Runtime.Register("postVisitDirectory", "(Ljava/lang/Object;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;", "GetPostVisitDirectory_Ljava_lang_Object_Ljava_io_IOException_Handler", ApiSince=26)]
public virtual Java.Nio.FileNio.FileVisitResult? PostVisitDirectory (Java.Lang.Object? dir, Java.IO.IOException? exc);
[<Android.Runtime.Register("postVisitDirectory", "(Ljava/lang/Object;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;", "GetPostVisitDirectory_Ljava_lang_Object_Ljava_io_IOException_Handler", ApiSince=26)>]
abstract member PostVisitDirectory : Java.Lang.Object * Java.IO.IOException -> Java.Nio.FileNio.FileVisitResult
override this.PostVisitDirectory : Java.Lang.Object * Java.IO.IOException -> Java.Nio.FileNio.FileVisitResult
Parameters
- dir
- Object
- exc
- IOException
Returns
Implements
- Attributes
Remarks
Invoked for a directory after entries in the directory, and all of their descendants, have been visited.
Unless overridden, this method returns FileVisitResult#CONTINUE CONTINUE
if the directory iteration completes without an I/O exception; otherwise this method re-throws the I/O exception that caused the iteration of the directory to terminate prematurely.
Java documentation for java.nio.file.SimpleFileVisitor.postVisitDirectory(T, java.io.IOException)
.
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.