Unbox Unbox Unbox Unbox Unbox Unbox Class

Definition

Unboxes an object that contains a value type into a specific, possibly different value type.

public ref class Unbox abstract sealed
public ref class Unbox abstract sealed
class Unbox abstract sealed
public static class Unbox
type Unbox = class
Public Class Unbox
Inheritance
UnboxUnboxUnboxUnboxUnboxUnbox

Remarks

Warning

Value truncation may occur when used this method, because the original source value is cast to the target value without ensuring that the target value can contain the original source value.

Methods

AsBoolean(Object) AsBoolean(Object) AsBoolean(Object) AsBoolean(Object) AsBoolean(Object) AsBoolean(Object)

Unboxes the specified object into a Boolean object.

AsDouble(Object) AsDouble(Object) AsDouble(Object) AsDouble(Object) AsDouble(Object) AsDouble(Object)

Unboxes the specified object into a Double object.

AsInt16(Object) AsInt16(Object) AsInt16(Object) AsInt16(Object) AsInt16(Object) AsInt16(Object)

Unboxes the specified object into an Int16 object.

AsInt32(Object) AsInt32(Object) AsInt32(Object) AsInt32(Object) AsInt32(Object) AsInt32(Object)

Unboxes the specified object into an Int32 object.

AsInt64(Object) AsInt64(Object) AsInt64(Object) AsInt64(Object) AsInt64(Object) AsInt64(Object)

Unboxes the specified object into an Int64 object.

AsInt8(Object) AsInt8(Object) AsInt8(Object) AsInt8(Object) AsInt8(Object) AsInt8(Object)

Unboxes the specified object into an Int8 object.

AsIntPtr(Object) AsIntPtr(Object) AsIntPtr(Object) AsIntPtr(Object) AsIntPtr(Object) AsIntPtr(Object)

Unboxes the specified object into an IntPtr object.

AsUInt16(Object) AsUInt16(Object) AsUInt16(Object) AsUInt16(Object) AsUInt16(Object) AsUInt16(Object)

Unboxes the specified object into a UInt16 object.

AsUInt32(Object) AsUInt32(Object) AsUInt32(Object) AsUInt32(Object) AsUInt32(Object) AsUInt32(Object)

Unboxes the specified object into a Uint32 object.

AsUInt64(Object) AsUInt64(Object) AsUInt64(Object) AsUInt64(Object) AsUInt64(Object) AsUInt64(Object)

Unboxes the specified object into a Uint64 object.

AsUInt8(Object) AsUInt8(Object) AsUInt8(Object) AsUInt8(Object) AsUInt8(Object) AsUInt8(Object)

Unboxes the specified object into a UInt8 object.

Applies to