共用方式為


Buffer.HasRemaining Property

Definition

Tells whether there are any elements between the current position and the limit.

public bool HasRemaining { [Android.Runtime.Register("hasRemaining", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasRemaining", "()Z", "")>]
member this.HasRemaining : bool

Property Value

true if, and only if, there is at least one element remaining in this buffer

Attributes

Remarks

Tells whether there are any elements between the current position and the limit.

Java documentation for java.nio.Buffer.hasRemaining().

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