Share via


FileLock.Close Method

Definition

This method invokes the #release method.

[Android.Runtime.Register("close", "()V", "")]
public void Close ();
[<Android.Runtime.Register("close", "()V", "")>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

Implements

Attributes

Exceptions

Remarks

This method invokes the #release method. It was added to the class so that it could be used in conjunction with the automatic resource management block construct.

Added in 1.7.

Java documentation for java.nio.channels.FileLock.close().

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