Object.Explicit Operator
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 |
|---|---|
| Explicit(Object to UInt64) |
Obsolete.
Converts the specified |
| Explicit(Object to UInt32) |
Obsolete.
Converts the specified |
| Explicit(Object to String[]) |
Converts the specified |
| Explicit(Object to String) |
Converts the specified |
| Explicit(Object to Single) |
Converts the specified |
| Explicit(Object to SByte) |
Converts the specified |
| Explicit(Object to Int64[]) |
Converts the specified |
| Explicit(Object to Int64) |
Converts the specified |
| Explicit(Object to Int32[]) |
Converts the specified |
| Explicit(Object to Single[]) |
Converts the specified |
| Explicit(Object to Double[]) |
Converts the specified |
| Explicit(Object to Boolean) |
Converts the specified |
| Explicit(Object to Boolean[]) |
Converts the specified |
| Explicit(Object to Byte) |
Obsolete.
Converts the specified |
| Explicit(Object to Object[]) |
Converts the specified |
| Explicit(Object to Char) |
Converts the specified |
| Explicit(Object to Char[]) |
Converts the specified |
| Explicit(Object to Double) |
Converts the specified |
| Explicit(Object to Byte[]) |
Converts the specified |
| Explicit(Object to Int32) |
Converts the specified |
Explicit(Object to UInt64)
Caution
Use (ulong)(long) value
Converts the specified Object value to UInt64.
[System.Obsolete("Use `(ulong)(long) value`", true)]
public static explicit operator ulong(Java.Lang.Object value);
[<System.Obsolete("Use `(ulong)(long) value`", true)>]
static member op_Explicit : Java.Lang.Object -> uint64
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
- Attributes
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
Explicit(Object to UInt32)
Caution
Use (uint)(int) value
Converts the specified Object value to UInt32.
[System.Obsolete("Use `(uint)(int) value`", true)]
public static explicit operator uint(Java.Lang.Object value);
[<System.Obsolete("Use `(uint)(int) value`", true)>]
static member op_Explicit : Java.Lang.Object -> uint32
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
- Attributes
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
Explicit(Object to String[])
Converts the specified Object value to String array.
public static explicit operator string[]?(Java.Lang.Object? value);
static member op_Explicit : Java.Lang.Object -> string[]
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to String)
Converts the specified Object value to String.
public static explicit operator string?(Java.Lang.Object? value);
static member op_Explicit : Java.Lang.Object -> string
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Single)
Converts the specified Object value to Single.
public static explicit operator float(Java.Lang.Object value);
static member op_Explicit : Java.Lang.Object -> single
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to SByte)
Converts the specified Object value to SByte.
public static explicit operator sbyte(Java.Lang.Object value);
static member op_Explicit : Java.Lang.Object -> sbyte
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Int64[])
Converts the specified Object value to Int64 array.
public static explicit operator long[]?(Java.Lang.Object? value);
static member op_Explicit : Java.Lang.Object -> int64[]
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Int64)
Converts the specified Object value to Int64.
public static explicit operator long(Java.Lang.Object value);
static member op_Explicit : Java.Lang.Object -> int64
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Int32[])
Converts the specified Object value to Int32 array.
public static explicit operator int[]?(Java.Lang.Object? value);
static member op_Explicit : Java.Lang.Object -> int[]
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Single[])
Converts the specified Object value to Single array.
public static explicit operator float[]?(Java.Lang.Object? value);
static member op_Explicit : Java.Lang.Object -> single[]
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Double[])
Converts the specified Object value to Double array.
public static explicit operator double[]?(Java.Lang.Object? value);
static member op_Explicit : Java.Lang.Object -> double[]
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Boolean)
Converts the specified Object value to Boolean.
public static explicit operator bool(Java.Lang.Object value);
static member op_Explicit : Java.Lang.Object -> bool
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Boolean[])
Converts the specified Object value to Boolean array.
public static explicit operator bool[]?(Java.Lang.Object? value);
static member op_Explicit : Java.Lang.Object -> bool[]
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Byte)
Caution
Use (byte)(sbyte) value
Converts the specified Object value to Byte.
[System.Obsolete("Use `(byte)(sbyte) value`", true)]
public static explicit operator byte(Java.Lang.Object value);
[<System.Obsolete("Use `(byte)(sbyte) value`", true)>]
static member op_Explicit : Java.Lang.Object -> byte
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
- Attributes
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
Explicit(Object to Object[])
Converts the specified Object value to Object array.
public static explicit operator Java.Lang.Object[]?(Java.Lang.Object? value);
static member op_Explicit : Java.Lang.Object -> Java.Lang.Object[]
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Char)
Converts the specified Object value to Char.
public static explicit operator char(Java.Lang.Object value);
static member op_Explicit : Java.Lang.Object -> char
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Char[])
Converts the specified Object value to Char array.
public static explicit operator char[]?(Java.Lang.Object? value);
static member op_Explicit : Java.Lang.Object -> char[]
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Double)
Converts the specified Object value to Double.
public static explicit operator double(Java.Lang.Object value);
static member op_Explicit : Java.Lang.Object -> double
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Byte[])
Converts the specified Object value to Byte array.
public static explicit operator byte[]?(Java.Lang.Object? value);
static member op_Explicit : Java.Lang.Object -> byte[]
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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
Explicit(Object to Int32)
Converts the specified Object value to Int32.
public static explicit operator int(Java.Lang.Object value);
static member op_Explicit : Java.Lang.Object -> int
Parameters
- value
- Object
The value to convert.
Returns
The converted value.
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.