M-Files API 22.6.11519.0
OwnerID Property
ValueListItem Object : OwnerID Property
Description
The owner item ID of the value list item.
Property type
Read-write property
Syntax
Visual Basic
Public Property OwnerID As Long
Remarks

The ID of the owner of this value list item refers to a value list item in another value list or object. To resolve the owner item, the owner object type must be resolved first.

Use the ValueListID property to get the ID of the value list and resolve the ObjType object for this value list by using the GetObjectType method. Then use the OwnerType method to resolve the ID of the owner value list or object type.

If the owner type is a real object type, you can use the VaultObjectOperations interface to locate the owner object. If the owner type is a value list, use the VaultValueListItemOperations interface to locate the owner value list item.

See Also

ValueListItem Object  | ValueListItem Members