Home About Rice Downloads Documents Others Cooker CookerGX
Documents  >  Class  >  proxy  >  Entity(class)
proxy class : Entity(class) setter

Description

Sets a new instance to the proxy.

Syntax

proxyInstance.Entity = someInstance

Arguments

ClassNameDescription
someClasssomeInstanceAny instance of non-proxy type.

Return value

None

Sample code

//anyProxy is a instance of proxy type.

anyProxy.Entity = 100;

Notes

The proxy type cannot set the proxy type.

If there is a 'Entity' setter in the stored instance, please note that this setter hide it.

Links for reference

None

Copyright © Rice All rights reserved.