Platform::ValueType Class

The base class for instances of value types.

Syntax

public ref class ValueType : Object

Public methods

Name Description
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