FileSystemProvider.NewDirectoryStream(IPath, IDirectoryStreamFilter) 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.
Opens a directory, returning a DirectoryStream
to iterate over
the entries in the directory.
[Android.Runtime.Register("newDirectoryStream", "(Ljava/nio/file/Path;Ljava/nio/file/DirectoryStream$Filter;)Ljava/nio/file/DirectoryStream;", "GetNewDirectoryStream_Ljava_nio_file_Path_Ljava_nio_file_DirectoryStream_Filter_Handler", ApiSince=26)]
public abstract Java.Nio.FileNio.IDirectoryStream? NewDirectoryStream (Java.Nio.FileNio.IPath? dir, Java.Nio.FileNio.IDirectoryStreamFilter? filter);
[<Android.Runtime.Register("newDirectoryStream", "(Ljava/nio/file/Path;Ljava/nio/file/DirectoryStream$Filter;)Ljava/nio/file/DirectoryStream;", "GetNewDirectoryStream_Ljava_nio_file_Path_Ljava_nio_file_DirectoryStream_Filter_Handler", ApiSince=26)>]
abstract member NewDirectoryStream : Java.Nio.FileNio.IPath * Java.Nio.FileNio.IDirectoryStreamFilter -> Java.Nio.FileNio.IDirectoryStream
Parameters
- dir
- IPath
the path to the directory
- filter
- IDirectoryStreamFilter
the directory stream filter
Returns
a new and open DirectoryStream
object
- Attributes
Remarks
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.