Unbox Class

 

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

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  Microsoft.VisualStudio.PlatformUI.Unbox

public static class Unbox

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAsBoolean(Object)

Unboxes the specified object into a Boolean object.

System_CAPS_pubmethodSystem_CAPS_staticAsDouble(Object)

Unboxes the specified object into a Double object.

System_CAPS_pubmethodSystem_CAPS_staticAsInt16(Object)

Unboxes the specified object into an Int16 object.

System_CAPS_pubmethodSystem_CAPS_staticAsInt32(Object)

Unboxes the specified object into an Int32 object.

System_CAPS_pubmethodSystem_CAPS_staticAsInt64(Object)

Unboxes the specified object into an Int64 object.

System_CAPS_pubmethodSystem_CAPS_staticAsInt8(Object)

Unboxes the specified object into an Int8 object.

System_CAPS_pubmethodSystem_CAPS_staticAsIntPtr(Object)

Unboxes the specified object into an IntPtr object.

System_CAPS_pubmethodSystem_CAPS_staticAsUInt16(Object)

Unboxes the specified object into a UInt16 object.

System_CAPS_pubmethodSystem_CAPS_staticAsUInt32(Object)

Unboxes the specified object into a Uint32 object.

System_CAPS_pubmethodSystem_CAPS_staticAsUInt64(Object)

Unboxes the specified object into a Uint64 object.

System_CAPS_pubmethodSystem_CAPS_staticAsUInt8(Object)

Unboxes the specified object into a UInt8 object.

System_CAPS_warningWarning

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: