JavaSByteArray Constructors
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.
Overloads
| Name | Description |
|---|---|
| JavaSByteArray(IEnumerable<SByte>) |
Creates a Java |
| JavaSByteArray(IList<SByte>) |
Creates a Java |
| JavaSByteArray(Int32) |
Creates a Java |
| JavaSByteArray(JniObjectReference, JniObjectReferenceOptions) |
Initializes an array wrapper through the runtime's peer-construction policy. |
JavaSByteArray(IEnumerable<SByte>)
Creates a Java byte array containing the supplied sequence values.
public JavaSByteArray(System.Collections.Generic.IEnumerable<sbyte> value);
new Java.Interop.JavaSByteArray : seq<sbyte> -> Java.Interop.JavaSByteArray
Parameters
- value
- IEnumerable<SByte>
The non-null sequence whose values are copied.
Remarks
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
JavaSByteArray(IList<SByte>)
Creates a Java byte array and copies the supplied list values.
public JavaSByteArray(System.Collections.Generic.IList<sbyte> value);
new Java.Interop.JavaSByteArray : System.Collections.Generic.IList<sbyte> -> Java.Interop.JavaSByteArray
Parameters
Remarks
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
JavaSByteArray(Int32)
Creates a Java byte array with the specified length.
public JavaSByteArray(int length);
new Java.Interop.JavaSByteArray : int -> Java.Interop.JavaSByteArray
Parameters
- length
- Int32
The non-negative array length, measured in elements.
Remarks
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
JavaSByteArray(JniObjectReference, JniObjectReferenceOptions)
Initializes an array wrapper through the runtime's peer-construction policy.
public JavaSByteArray(ref Java.Interop.JniObjectReference handle, Java.Interop.JniObjectReferenceOptions options);
new Java.Interop.JavaSByteArray : JniObjectReference * Java.Interop.JniObjectReferenceOptions -> Java.Interop.JavaSByteArray
Parameters
- handle
- JniObjectReference
The JNI array reference. An invalid reference can be used with None for deferred peer initialization.
- options
- JniObjectReferenceOptions
Reference-transfer and peer-registration options passed to the runtime.
Remarks
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.