Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 1.58 KB

File metadata and controls

61 lines (47 loc) · 1.58 KB
title Platform::ValueType Class | Microsoft Docs
ms.custom
ms.date 02/03/2017
ms.technology cpp-windows
ms.reviewer
ms.suite
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
VCCORLIB/Platform::ValueType::ToString
dev_langs
C++
helpviewer_keywords
Platform::ValueType Class
ms.assetid 79aa8754-b140-4974-a5b1-be046938a10a
caps.latest.revision 5
author ghogen
ms.author ghogen
manager ghogen

Platform::ValueType Class

The base class for instances of value types.

Syntax

public ref class ValueType : Object  

Public methods

ValueType::ToString Returns a string representation of the object. Inherited from Platform::Object.

Remarks

The ValueType class is used to construct value types. ValueType is derived from Object, which has basic members. However, the compiler detaches those basic members from value types that are derived from the ValueType class. The compiler reattaches those basic members when a value type is boxed.

Requirements

Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Metadata: platform.winmd

ValueType::ToString Method

Returns a string representation of the object.

Syntax

Platform::String ToString();  

Return Value

A Platform::String that represents the value.

See Also

Platform namespace