Skip to content
On this page

class Object

Properties

PropertyDescription
NameThe name of the Object object.

Methods

MethodDescription
AddObserverAdds a user-defined observer object to the interface, that will receive events from the interface.
GetClassGet the name of the Object class.
IsAReturns true if Object is a or is a descendant of the class named as the type parameter.
IsNullReturns true if the Object object is invalid.
IsSameObjectAsReturns true if the Object object is valid.
NonNullReturns true if the Object object is valid.
PrintInfoPrints the content/info of the Object object to the log.
RemoveObserverRemoves a previously added observer object.

Static methods

MethodDescription
IsClassAReturns true if the class is a or is a descendant of the class named as the type parameter.
SafeCastSafeCast makes sure the input object is of a class that can be cast into spObject, and if this is the case, returns the object cast into spObject.

Properties details

Name

The name of the Object object.

Methods details

AddObserver

Adds a user-defined observer object to the interface, that will receive events from the interface.

GetClass

Get the name of the Object class.

IsA

Returns true if Object is a or is a descendant of the class named as the type parameter.

IsNull

Returns true if the Object object is invalid.

IsSameObjectAs

Returns true if the Object object is valid.

NonNull

Returns true if the Object object is valid.

PrintInfo

Prints the content/info of the Object object to the log.

RemoveObserver

Removes a previously added observer object.

Static methods details

IsClassA

Returns true if the class is a or is a descendant of the class named as the type parameter.

SafeCast

SafeCast makes sure the input object is of a class that can be cast into spObject, and if this is the case, returns the object cast into spObject.