GetInstance(Key: Integer; ParamValues: IMetabaseObjectParamValues): IMetabaseObjectInstance;
Key. Object key.
ParamValues. Values of parameters that were used for object opening.
The GetInstance method returns an object instance from repository cache by key and specified parameters set.
An object is put to repository cache on the first opening. If an object is opened with different parameters, caching is executed for each parameters set.
If cache does not contain the specified object or an object instance for specified parameters values, the method returns Null.
See also: