System::ValueType Class Reference

Static Public Member Functions

static bool Equals (const SharedPtr< Object > &o)
 

Detailed Description

Baseclass for value types with Object inheritance being truncated for performance reasons. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.

Member Function Documentation

◆ Equals()

static bool System::ValueType::Equals ( const SharedPtr< Object > &  o)
static

Supports value type and reference type comparison.

Parameters
oReference type object to compare to.
Returns
True if objects are considered equal, false otherwise.