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

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

This interface is to represent the edge container.

```csharp theme={null}
public sealed class Body.EdgeContainer : LinkContainer, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable, IPostDeserialized
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
ObservableObject ←
LinkableBase ←
[LinkContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md) ←
[Body.EdgeContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.CAD.Body.EdgeContainer.md)

#### Implements

IObservableObject,
IDisposableObject,
ILinkable,
IObject,
ILinkContainer,
IOwned,
IHasID,
IEventProvider,
[ILinkContainerEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.ILinkContainerEvent.md),
[IVerifiable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.IVerifiable.md),
IPostDeserialized

#### Inherited Members

[LinkContainer.SetModified()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_SetModified),
[LinkContainer.raise\_OnUpdating(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnUpdating_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.raise\_OnUpdate(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnUpdate_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.raise\_OnDestroying(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnDestroying_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.raise\_OnDestroy(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnDestroy_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.raise\_OnAdded(object, AddToDocEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnAdded_System_Object_VM_Managed_AddToDocEventArgs_),
[LinkContainer.raise\_OnRemoved(object, RemoveFromDocEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnRemoved_System_Object_VM_Managed_RemoveFromDocEventArgs_),
[LinkContainer.GetTargetListForUpdate()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_GetTargetListForUpdate),
[LinkContainer.SkipUpdateObjectImpl()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_SkipUpdateObjectImpl),
[LinkContainer.Initialize(Unit.ConvertFactor)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Initialize_VM_Unit_ConvertFactor_),
[LinkContainer.SetFlagWhenXMLFile(string, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_SetFlagWhenXMLFile_System_String_System_Boolean_),
[LinkContainer.SetContainer(IOwned, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_SetContainer_VM_Models_Pre_IOwned_System_Boolean_),
[LinkContainer.Container](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Container),
[LinkContainer.Owner](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Owner),
[LinkContainer.Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Document),
[LinkContainer.ID](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_ID),
[LinkContainer.IsChildExternable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_IsChildExternable),
[LinkContainer.IsExternable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_IsExternable),
[LinkContainer.OnRemoved](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnRemoved),
[LinkContainer.OnAdded](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnAdded),
[LinkContainer.OnDestroy](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnDestroy),
[LinkContainer.OnDestroying](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnDestroying),
[LinkContainer.OnUpdate](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnUpdate),
[LinkContainer.OnUpdating](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnUpdating),
ObservableObject.Dispose(),
ObservableObject.RaisePropertyChanged(string),
ObservableObject.RaisePropertyChanged(string, object, object),
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/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

### Count

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

```csharp theme={null}
public int Count { get; }
```

#### Property Value

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

### IsReadOnly

Gets a value indicating whether the ICollection\`1 is read-only.

```csharp theme={null}
public bool IsReadOnly { get; }
```

#### Property Value

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

### this\[uint]

```csharp theme={null}
public Edge this[uint nIndex] { get; }
```

#### Property Value

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

## Methods

### Add(Edge)

Adds an item to the ICollection\`1 \[Not Supported].

```csharp theme={null}
public void Add(Edge A_0)
```

#### Parameters

`A_0` [Edge](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.CAD.Edge.md)

### Clear()

Removes all items from the ICollection\`1 \[Not Supported].

```csharp theme={null}
public void Clear()
```

### Contains(Edge)

Determines whether the ICollection\`1 contains a specific value.

```csharp theme={null}
public bool Contains(Edge edge)
```

#### Parameters

`edge` [Edge](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.CAD.Edge.md)

The object to locate in the ICollection\`1.

#### Returns

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

true if `edge` is found in the ICollection\`1; otherwise, false.

### CopyTo(Edge\[], int)

Copies the elements of the ICollection\`1 to an Array, starting at a particular Array index.

```csharp theme={null}
public void CopyTo(Edge[] arr, int arrayIndex)
```

#### Parameters

`arr` [Edge](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.CAD.Edge.md)\[]

The one-dimensional Array that is the destination of the elements copied from ICollection\`1. The Array must have zero-based indexing.

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

The zero-based index in `arr` at which copying begins.

#### Exceptions

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

`arr` is null.

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

`arrayIndex` is less than 0.

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

```xml theme={null}
<code class="paramref">arr</code> is multidimensional.
```

-or-
`arrayIndex` is equal to or greater than the length of `arr`.
-or-
The number of elements in the source ICollection\`1 is greater than the available space from `arrayIndex` to the end of the destination `arr`.
-or-
Type `arr` cannot be cast automatically to the type of the destination `arr`.

### GetCreatedEdge(uint)

Gets the created edge.

```csharp theme={null}
public Edge GetCreatedEdge(uint nIndex)
```

#### Parameters

`nIndex` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

Index of the n.

#### Returns

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

### GetEnumerator()

Returns an enumerator that iterates through the collection.

```csharp theme={null}
public IEnumerator<Edge> GetEnumerator()
```

#### Returns

[IEnumerator](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1)\<[Edge](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.CAD.Edge.md)>

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

### GetSchema()

This method is reserved and should not be used. When implementing the IXmlSerializable interface,
you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic)
from this method, and instead, if specifying a custom schema is required,
apply the XmlSchemaProviderAttribute to the class.

```csharp theme={null}
public XmlSchema GetSchema()
```

#### Returns

[XmlSchema](https://learn.microsoft.com/dotnet/api/system.xml.schema.xmlschema)

An XmlSchema that describes the XML representation of the object that is produced by the WriteXml() method and consumed by the ReadXml() method.

### GetTargetListForUpdate()

Gets the update objects.

```csharp theme={null}
public override sealed List<IEventProvider> GetTargetListForUpdate()
```

#### Returns

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<IEventProvider>

### GetTemporaryEdge(uint)

Gets the temporary edge.

```csharp theme={null}
public Edge GetTemporaryEdge(uint nIndex)
```

#### Parameters

`nIndex` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

The edge index.

#### Returns

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

The specified edge.

### LinkRequestUpdate(object, LinkEventArgs)

Request for update the linked object.

```csharp theme={null}
protected override sealed void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)
```

#### Parameters

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

The linked object.

`arg` [LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)

The [LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md) instance containing the event data.

### OnPostDeserialized(StreamingContext)

```csharp theme={null}
public void OnPostDeserialized(StreamingContext context)
```

#### Parameters

`context` [StreamingContext](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext)

### ReadXml(XmlReader)

Generates an object from its XML representation.

```csharp theme={null}
public void ReadXml(XmlReader reader)
```

#### Parameters

`reader` [XmlReader](https://learn.microsoft.com/dotnet/api/system.xml.xmlreader)

The XmlReader stream from which the object is deserialized.

### Remove(Edge)

Removes the specified name \[Not Supported].

```csharp theme={null}
public bool Remove(Edge A_0)
```

#### Parameters

`A_0` [Edge](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.CAD.Edge.md)

#### Returns

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

`true` if success; otherwise, `false`.

### WriteXml(XmlWriter)

Converts an object into its XML representation.

```csharp theme={null}
public void WriteXml(XmlWriter writer)
```

#### Parameters

`writer` [XmlWriter](https://learn.microsoft.com/dotnet/api/system.xml.xmlwriter)

The XmlWriter stream to which the object is serialized.
