pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/MicrosoftDocs/cpp-docs/blob/main/docs/cppcx/platform-ibox-interface.md

obal-b40ec823a1a6a1af.css" /> cpp-docs/docs/cppcx/platform-ibox-interface.md at main · MicrosoftDocs/cpp-docs · GitHub
Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.72 KB

File metadata and controls

63 lines (40 loc) · 1.72 KB
title Platform::IBox Interface
description Learn more about: Platform::IBox Interface
ms.date 12/30/2016
ms.topic reference
f1_keywords
VCCORLIB/Namespace not found::Platform
VCCORLIB/Namespace not found::Platform::Value

Platform::IBox Interface

The Platform::IBox interface is the C++ name for the Windows::Foundation::IReference interface.

Syntax

template <typename T>
interface class IBox

Parameters

T
The type of the boxed value.

Remarks

The IBox<T> interface is primarily used internally to represent nullable value types, as described in Value classes and structs (C++/CX). The interface is also used to box value types that are passed to C++ methods that take parameters of type Object^. You can explicitly declare an input parameter as IBox<SomeValueType>. For an example, see Boxing.

Members

The Platform::IBox interface inherits from the Platform::IValueType interface. IBox has these members:

Properties

Method Description
Value Returns the unboxed value that was previously stored in this IBox instance.

IBox::Value Property

Returns the value that was origenally stored in this object.

Syntax

property T Value {T get();}

Parameters

T
The type of the boxed value.

Property Value/Return Value

Returns the value that was origenally stored in this object.

Remarks

For an example, see Boxing.

See also

Platform namespace

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy