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

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

This class is to represent the face container.

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

#### Inheritance

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

#### Implements

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

#### Inherited Members

[LinkContainer.SetModified()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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/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/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/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/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/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/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_GetTargetListForUpdate),
[LinkContainer.SkipUpdateObjectImpl()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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/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/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/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Container),
[LinkContainer.Owner](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Owner),
[LinkContainer.Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Document),
[LinkContainer.ID](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_ID),
[LinkContainer.IsChildExternable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_IsChildExternable),
[LinkContainer.IsExternable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_IsExternable),
[LinkContainer.OnRemoved](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnRemoved),
[LinkContainer.OnAdded](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnAdded),
[LinkContainer.OnDestroy](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnDestroy),
[LinkContainer.OnDestroying](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnDestroying),
[LinkContainer.OnUpdate](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnUpdate),
[LinkContainer.OnUpdating](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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_)

## Properties

### Count

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

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

#### Property Value

int

### IsReadOnly

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

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

#### Property Value

bool

### this\[uint]

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

#### Property Value

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

## Methods

### Add(Face)

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

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

#### Parameters

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

### Clear()

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

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

### Contains(Face)

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

```csharp theme={null}
public bool Contains(Face face)
```

#### Parameters

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

The object to locate in the ICollection\`1.

#### Returns

bool

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

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

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

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

#### Parameters

`arr` [Face](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.CAD.Face.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

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

#### Exceptions

ArgumentNullException

`arr` is null.

ArgumentOutOfRangeException

`arrayIndex` is less than 0.

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

### GetCreatedFace(uint)

Gets the created face.

```csharp theme={null}
public Face GetCreatedFace(uint nIndex)
```

#### Parameters

`nIndex` uint

Index of the n.

#### Returns

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

### GetEnumerator()

Returns an enumerator that iterates through the collection.

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

#### Returns

IEnumerator\<[Face](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.CAD.Face.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

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\<IEventProvider>

### GetTemporaryFace(uint)

Gets the temporary face.

```csharp theme={null}
public Face GetTemporaryFace(uint nIndex)
```

#### Parameters

`nIndex` uint

The face index.

#### Returns

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

The specified face.

### LinkRequestUpdate(object, LinkEventArgs)

Request for update the linked object.

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

#### Parameters

`objNotifier` object

The linked object.

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

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

### OnPostDeserialized(StreamingContext)

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

#### Parameters

`context` StreamingContext

### ReadXml(XmlReader)

Generates an object from its XML representation.

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

#### Parameters

`reader` XmlReader

The XmlReader stream from which the object is deserialized.

### Remove(Face)

Removes the specified name \[Not Supported].

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

#### Parameters

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

#### Returns

bool

`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

The XmlWriter stream to which the object is serialized.
