API.GetVar Method

Returns info about an entity Example to get the type of entity use key="TYPE" Note! the key value is case sensitive
public static object GetVar( 
   object entity
   string key 
)

Parameters

entity
object

The entity

key
string

The key for the data

Return Value

object

An object for the Value of the Key

Exception type Condition

Exception

If the entity is not correct

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8