Neokernel API

FilePropsContainer.setProperty Method

This method sets a prop value whose name is given by the first parameter. If this name had a previous value, it will be lost. If there was no prop whose name is given by the first parameter, a new cache is created for this prop and the value written to it.

public virtual void setProperty(
   string s,
   object o
);

Parameters

s
This is the name of the prop whose value is to be set.
o
This is the value which to set the prop to.

Implements

IPropsContainer.setProperty

See Also

FilePropsContainer Class | com.neokernel.om Namespace