IMetabaseCustomObjectSelSets.OwnerByKey

Syntax

OwnerByKey(Key: String): IMetabaseObjectDescriptor;

Parameters

Key. Element key in the collection.

Description

The OwnerByKey method returns description of the repository object, with which the selection is linked that is saved in the specified collection element.

Comments

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.

Example

The example of use is given in description of the AddWithOwner method.

See also:

IMetabaseCustomObjectSelSets