> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface IOwned

Namespace: [VM.Models.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre)\
Assembly: VM.Models.Pre.dll

This interface is to represent the owner object in the object relationship.

```csharp theme={null}
public interface IOwned
```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Properties

### Container

Gets or sets the owner object.

```csharp theme={null}
IOwned Container { get; }
```

#### Property Value

[IOwned](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.IOwned.md)

### Document

Gets the document that contains the object.

```csharp theme={null}
IDocument Document { get; }
```

#### Property Value

[IDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.IDocument.md)

### Owner

Gets the owner object.

```csharp theme={null}
IObject Owner { get; }
```

#### Property Value

[IObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.IObject.md)

## Methods

### SetContainer(IOwned, bool, bool)

Sets the owner object.

```csharp theme={null}
void SetContainer(IOwned owner, bool backup, bool isFromLinkAttribute = false)
```

#### Parameters

`owner` [IOwned](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.IOwned.md)

`backup` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

`isFromLinkAttribute` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
