Udostępnij za pośrednictwem


FileDescriptor.Valid Method

Definition

Tests if this file descriptor object is valid.

[Android.Runtime.Register("valid", "()Z", "")]
public bool Valid ();
[<Android.Runtime.Register("valid", "()Z", "")>]
member this.Valid : unit -> bool

Returns

true if the file descriptor object represents a valid, open file, socket, or other active I/O connection; false otherwise.

Attributes

Remarks

Tests if this file descriptor object is valid.

Java documentation for java.io.FileDescriptor.valid().

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