Platform::Object Class

Provides common behavior for ref classes and ref structs in Windows Store apps. All ref class and ref struct instances are implicitly convertible to Platform::Object^ and can override its virtual ToString method.

public ref class Object : Object

Name

Description

Object::Object Constructor

Initializes a new instance of the Object class.

Name

Description

Object::Equals Method

Determines whether the specified object is equal to the current object.

Object::GetHashCode Method

Returns the hash code for this instance.

Object::ReferenceEquals Method

Determines whether the specified Object instances are the same instance.

ToString Method

Returns a string that represents the current object. Can be overridden.

GetType Method

Gets a Platform::Type that describes the current instance.

Header: vccorlib.h

Namespace: Platform

Other Resources

Platform Namespace
Show:
© 2014 Microsoft