Writer.Lock Property
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.
The object used to synchronize operations on this stream.
[Android.Runtime.Register("lock")]
protected Java.Lang.Object? Lock { get; set; }
[<Android.Runtime.Register("lock")>]
member this.Lock : Java.Lang.Object with get, set
Property Value
- Attributes
Remarks
The object used to synchronize operations on this stream. For efficiency, a character-stream object may use an object other than itself to protect critical sections. A subclass should therefore use the object in this field rather than this
or a synchronized method.
Java documentation for java.io.Writer.lock
.
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.