Neokernel API

Props.getSize Method

Returns the size of the specified object. If the object is a Vector, the number of elements it contains is returned. If the object is a String, its length is returned. For other objects the length of the object's string value is returned. If the object does not exist, zero is returned.

public virtual int getSize(
   string key
);

See Also

Props Class | com.neokernel.props Namespace