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

# Class MultiObjectContainerMToN

Namespace: [VM.Managed.DAFUL.Chained](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Chained)\
Assembly: VMDChainedBase.dll

This class represents the container for MultiObject class

```csharp theme={null}
public class MultiObjectContainerMToN : MultiObjectContainer, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable
```

#### Inheritance

object ←
ObservableObject ←
[LinkableBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs) ←
LinkContainer ←
[MultiObjectContainer](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/MultiObject.cs) ←
[MultiObjectContainerMToN](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Chained.MultiObjectContainerMToN.md)

#### Implements

IObservableObject,
IDisposableObject,
ILinkable,
IObject,
ILinkContainer,
IOwned,
IHasID,
IEventProvider,
ILinkContainerEvent,
IVerifiable

#### Inherited Members

[MultiObjectContainer.GetEnumerator()](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/MultiObject.cs),
[MultiObjectContainer.LinkRequestUpdate(object, LinkEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/MultiObject.cs),
[MultiObjectContainer.OnDeserialization(object)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/MultiObject.cs),
[MultiObjectContainer.SwapActionBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/MultiObject.cs),
[MultiObjectContainer.Collection](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/MultiObject.cs),
[MultiObjectContainer.Count](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/MultiObject.cs),
[MultiObjectContainer.Objects](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/MultiObject.cs),
[MultiObjectContainer.ObjectList](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/MultiObject.cs),
[MultiObjectContainer.ObjectBaseList](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/MultiObject.cs),
LinkContainer.SetModified(),
LinkContainer.raise\_OnUpdating(object, LinkEventArgs),
LinkContainer.raise\_OnUpdate(object, LinkEventArgs),
LinkContainer.raise\_OnDestroying(object, LinkEventArgs),
LinkContainer.raise\_OnDestroy(object, LinkEventArgs),
LinkContainer.raise\_OnAdded(object, AddToDocEventArgs),
LinkContainer.raise\_OnRemoved(object, RemoveFromDocEventArgs),
LinkContainer.GetTargetListForUpdate(),
LinkContainer.SkipUpdateObjectImpl(),
LinkContainer.Initialize(Unit.ConvertFactor),
LinkContainer.SetFlagWhenXMLFile(string, bool),
LinkContainer.IsSerializableEvent(Delegate),
LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext),
LinkContainer.GetSerializedData(SerializationInfo, StreamingContext),
LinkContainer.LinkRequestUpdating(object, LinkEventArgs),
LinkContainer.LinkRequestUpdate(object, LinkEventArgs),
LinkContainer.LinkRequestDestroying(object, LinkEventArgs),
LinkContainer.LinkRequestDestroy(object, LinkEventArgs),
LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs),
LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs),
LinkContainer.OnLinkReserved(ILink, object, EventArgs),
LinkContainer.CanBeDestroy(object),
LinkContainer.DisposeManagedResources(),
LinkContainer.SetContainer(IOwned, bool),
LinkContainer.OnChildUpdated(object, LinkEventArgs),
LinkContainer.OnContainerDestroy(object, LinkEventArgs),
LinkContainer.OnDeserialization(object),
LinkContainer.Verify(VerifiedResult),
LinkContainer.GetCopy(object),
LinkContainer.Dispose(bool),
LinkContainer.ClearChildInfoBeforeDeserialize,
LinkContainer.Container,
LinkContainer.Owner,
LinkContainer.Document,
LinkContainer.ID,
LinkContainer.IsChildExternable,
LinkContainer.IsExternable,
LinkContainer.OnRemoved,
LinkContainer.OnAdded,
LinkContainer.OnDestroy,
LinkContainer.OnDestroying,
LinkContainer.OnUpdate,
LinkContainer.OnUpdating,
[LinkableBase.OnDeserialization(object)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs),
ObservableObject.Dispose(),
ObservableObject.RaisePropertyChanged(string),
ObservableObject.RaisePropertyChanged(string, object, object),
ObservableObject.Dispose(bool),
ObservableObject.DisposeManagedResources(),
ObservableObject.DisposeUnmanagedResources(),
ObservableObject.IsDisposed,
ObservableObject.TryDisposing,
ObservableObject.Disposed,
ObservableObject.Disposing,
ObservableObject.PropertyChanged

#### Extension Methods

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

## Constructors

### MultiObjectContainerMToN(ICollection)

Initializes a new instance of the [MultiObjectContainerMToN](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Chained.MultiObjectContainerMToN.md) class.

```csharp theme={null}
public MultiObjectContainerMToN(ICollection collection)
```

#### Parameters

`collection` ICollection

The collection of objects.

## Properties

### BaseObjectCollection

Gets or sets the object list.

```csharp theme={null}
protected IList<ObjectBase> BaseObjectCollection { get; }
```

#### Property Value

IList\<ObjectBase>

### BaseObjectList

Gets or sets the object list.

```csharp theme={null}
[Obsolete]
protected List<Link<ObjectBase, LinkContainer.None, LinkContainer.Update, LinkContainer.None>> BaseObjectList { get; set; }
```

#### Property Value

List\<Link\<ObjectBase, LinkContainer.None, LinkContainer.Update, LinkContainer.None>>

### BaseObjects

Gets or sets the Base objects.

```csharp theme={null}
public ObjectBase[] BaseObjects { get; set; }
```

#### Property Value

ObjectBase\[]

### Count

Gets the number of elements contained in the ICollection\`1.

```csharp theme={null}
protected override int Count { get; }
```

#### Property Value

int

### NumberOfBackward

Gets and sets the number of backward segment.

```csharp theme={null}
public int NumberOfBackward { get; set; }
```

#### Property Value

int

### NumberOfForward

Gets and sets the number of forward segment.

```csharp theme={null}
public int NumberOfForward { get; set; }
```

#### Property Value

int

## Methods

### GetEnumerator()

Returns an enumerator that iterates through a collection.

```csharp theme={null}
protected override IEnumerator<MultiObjectTarget> GetEnumerator()
```

#### Returns

IEnumerator\<[MultiObjectTarget](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/MultiObject.cs)>

An IEnumerator\`1 object that can be used to iterate through the collection.

### OnDeserialization(object)

Called when \[deserialization].

```csharp theme={null}
protected override void OnDeserialization(object sender)
```

#### Parameters

`sender` object

The sender.
