> ## 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 IContainer

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

This interface is to represent the DAFUL object container.

```csharp theme={null}
public interface IContainer : ILinkContainer, IOwned, IHasID
```

#### Implements

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

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/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-r2/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-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### Find(string)

Find DAFUL object from the container by full name.

```csharp theme={null}
IObjectBase Find(string name)
```

#### Parameters

`name` [string](https://learn.microsoft.com/dotnet/api/system.string)

The DAFUL object full name.

#### Returns

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

The DAFUL object.

### FindLocal(string)

Find DAFUL object from the container by name.

```csharp theme={null}
IObjectBase FindLocal(string name)
```

#### Parameters

`name` [string](https://learn.microsoft.com/dotnet/api/system.string)

The DAFUL object name.

#### Returns

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

The DAFUL object.

### GetNewEntityName(string)

Generate an unique DAFUL object name from the container using the prefix name.

```csharp theme={null}
string GetNewEntityName(string prefix)
```

#### Parameters

`prefix` [string](https://learn.microsoft.com/dotnet/api/system.string)

The DAFUL object prefix name.

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

The DAFUL object name.

### GetNewEntityName(string, bool, int)

Generate an unique DAFUL object name from the container using the prefix name.

```csharp theme={null}
string GetNewEntityName(string prefix, bool useUnderLine, int numFigure)
```

#### Parameters

`prefix` [string](https://learn.microsoft.com/dotnet/api/system.string)

The DAFUL object prefix name.

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

Whether use underline.

`numFigure` [int](https://learn.microsoft.com/dotnet/api/system.int32)

The Number of Figure.

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

The DAFUL object name.

### GetNewEntityName(string, bool, int, int)

Generate an unique DAFUL object name from the container using the prefix name.

```csharp theme={null}
string GetNewEntityName(string prefix, bool useUnderLine, int numFigure, int startIndex)
```

#### Parameters

`prefix` [string](https://learn.microsoft.com/dotnet/api/system.string)

The DAFUL object prefix name.

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

Whether use underline.

`numFigure` [int](https://learn.microsoft.com/dotnet/api/system.int32)

The Number of Figure.

`startIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

The start index.

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

The DAFUL object name.

### GetUnnamedObjectName(object)

Get an unnamed object name.

```csharp theme={null}
string GetUnnamedObjectName(object @object)
```

#### Parameters

`object` [object](https://learn.microsoft.com/dotnet/api/system.object)

The unnamed object.

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

The unnamed object name.
