SelectionKey.Attachment Method
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.
Retrieves the current attachment.
[Android.Runtime.Register("attachment", "()Ljava/lang/Object;", "")]
public Java.Lang.Object? Attachment ();
[<Android.Runtime.Register("attachment", "()Ljava/lang/Object;", "")>]
member this.Attachment : unit -> Java.Lang.Object
Returns
The object currently attached to this key,
or null
if there is no attachment
- Attributes
Remarks
Retrieves the current attachment.
Java documentation for java.nio.channels.SelectionKey.attachment()
.
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.