OwnerByKey(Key: String): IMetabaseObjectDescriptor;
OwnerByKey(Key: String): Prognoz.Platform.Interop.Metabase.IMetabaseObjectDescriptor;
Key. Element key in the collection.
The OwnerByKey method returns description of the repository object, with which the selection is linked that is saved in the specified collection element.
If the selection saved in the collection element, is not linked to any repository object, or the element with the Key key does not exist in the collection, the method returns Null.
Use the AddWithOwner method to add a dimensions selection to the collection, which is linked to a repository object.
The example of use is given in description of the AddWithOwner method.
See also: