共用方式為


IReadWriteLock.ReadLock Method

Definition

Returns the lock used for reading.

[Android.Runtime.Register("readLock", "()Ljava/util/concurrent/locks/Lock;", "GetReadLockHandler:Java.Util.Concurrent.Locks.IReadWriteLockInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Util.Concurrent.Locks.ILock? ReadLock ();
[<Android.Runtime.Register("readLock", "()Ljava/util/concurrent/locks/Lock;", "GetReadLockHandler:Java.Util.Concurrent.Locks.IReadWriteLockInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ReadLock : unit -> Java.Util.Concurrent.Locks.ILock

Returns

the lock used for reading

Attributes

Remarks

Returns the lock used for reading.

Java documentation for java.util.concurrent.locks.ReadWriteLock.readLock().

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