Share via


ISecureDirectoryStream.NewDirectoryStream(Object, LinkOption[]) Method

Definition

Opens the directory identified by the given path, returning a SecureDirectoryStream to iterate over the entries in the directory.

[Android.Runtime.Register("newDirectoryStream", "(Ljava/lang/Object;[Ljava/nio/file/LinkOption;)Ljava/nio/file/SecureDirectoryStream;", "GetNewDirectoryStream_Ljava_lang_Object_arrayLjava_nio_file_LinkOption_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public Java.Nio.FileNio.ISecureDirectoryStream? NewDirectoryStream (Java.Lang.Object? path, params Java.Nio.FileNio.LinkOption[]? options);
[<Android.Runtime.Register("newDirectoryStream", "(Ljava/lang/Object;[Ljava/nio/file/LinkOption;)Ljava/nio/file/SecureDirectoryStream;", "GetNewDirectoryStream_Ljava_lang_Object_arrayLjava_nio_file_LinkOption_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member NewDirectoryStream : Java.Lang.Object * Java.Nio.FileNio.LinkOption[] -> Java.Nio.FileNio.ISecureDirectoryStream

Parameters

path
Object

the path to the directory to open

options
LinkOption[]

options indicating how symbolic links are handled

Returns

a new and open SecureDirectoryStream object

Attributes

Remarks

Java documentation for java.nio.file.SecureDirectoryStream.newDirectoryStream(java.lang.Object, java.nio.file.LinkOption).

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