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

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

This class is to represent the general argument list.

```csharp theme={null}
public class ArgumentListGeneral : LinkContainer, 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 ←
[ArgumentListGeneral](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.ArgumentListGeneral.md)

#### Implements

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

#### Inherited Members

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

### ArgumentListGeneral()

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

```csharp theme={null}
public ArgumentListGeneral()
```

### ArgumentListGeneral(SubEntity)

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

```csharp theme={null}
public ArgumentListGeneral(SubEntity owner)
```

#### Parameters

`owner` [SubEntity](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/SubEntity.cs)

The owner subentity.

## Properties

### Arguments

Gets or sets the argument's link list.

```csharp theme={null}
public ArgumentBase[] Arguments { get; set; }
```

#### Property Value

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

### Count

Gets the count of argument's link list.

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

#### Property Value

int

### IsReadOnly

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

#### Property Value

bool

### ReservedArguments

```csharp theme={null}
public static List<string> ReservedArguments { get; }
```

#### Property Value

List\<string>

### ValidationArguments

Get argument informations for validation

```csharp theme={null}
public IEnumerable<(string Name, ArgumentTypes Type)> ValidationArguments { get; }
```

#### Property Value

IEnumerable\<(string Name, ArgumentTypes Type)>

### this\[int]

Gets or sets the [IArgument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.IArgument.md) with the specified index.

```csharp theme={null}
public IArgument this[int nIndex] { get; set; }
```

#### Property Value

IArgument

## Methods

### Add(ArgumentBase)

Add argument.

```csharp theme={null}
public void Add(ArgumentBase argumentBase)
```

#### Parameters

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

The argumentBase.

### Clear()

Clear argument collection.

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

### Contains(IArgument)

Determines whether \[contains] \[the specified arg].

```csharp theme={null}
public bool Contains(IArgument arg)
```

#### Parameters

`arg` IArgument

The arg.

#### Returns

bool

`true` if \[contains] \[the specified arg]; otherwise, `false`.

### Contains(ArgumentBase)

Contains

```csharp theme={null}
public bool Contains(ArgumentBase item)
```

#### Parameters

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

#### Returns

bool

### ContainsReservedArgument()

Determines whether \[contains] \[the reserved arg].

```csharp theme={null}
public bool ContainsReservedArgument()
```

#### Returns

bool

`true` if \[contains] \[the reserved arg]; otherwise, `false`.

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

Copy to

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

#### Parameters

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

`arrayIndex` int

### GetACTION(IConnector)

```csharp theme={null}
public static object GetACTION(IConnector connector)
```

#### Parameters

`connector` IConnector

#### Returns

object

### GetACTIONDOC(IConnector)

```csharp theme={null}
public static object GetACTIONDOC(IConnector connector)
```

#### Parameters

`connector` IConnector

#### Returns

object

### GetAM(IConnector)

```csharp theme={null}
public static object GetAM(IConnector connector)
```

#### Parameters

`connector` IConnector

#### Returns

object

### GetArgument(string, IDocument)

Get argument

```csharp theme={null}
public static IArgument GetArgument(string strArgument, IDocument doc)
```

#### Parameters

`strArgument` string

`doc` IDocument

#### Returns

IArgument

### GetArgument(string, IConnector)

Get argument

```csharp theme={null}
public static IArgument GetArgument(string strArgument, IConnector connector)
```

#### Parameters

`strArgument` string

`connector` IConnector

#### Returns

IArgument

### GetBASE(IConnector)

```csharp theme={null}
public static object GetBASE(IConnector connector)
```

#### Parameters

`connector` IConnector

#### Returns

object

### GetBASEDOC(IConnector)

```csharp theme={null}
public static object GetBASEDOC(IConnector connector)
```

#### Parameters

`connector` IConnector

#### Returns

object

### GetBM(IConnector)

```csharp theme={null}
public static object GetBM(IConnector connector)
```

#### Parameters

`connector` IConnector

#### Returns

object

### GetEnumerator()

Get enumerator for argument.

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

#### Returns

IEnumerator\<[ArgumentBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.ArgumentBase.md)>

### GetSchema()

This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (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.

### IndexOf(ArgumentBase)

Index of

```csharp theme={null}
public int IndexOf(ArgumentBase item)
```

#### Parameters

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

#### Returns

int

### Insert(int, ArgumentBase)

Insert argument.

```csharp theme={null}
public void Insert(int nIndex, ArgumentBase argumentBase)
```

#### Parameters

`nIndex` int

The index.

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

The argumentBase.

### LinkRequestUpdate(object, LinkEventArgs)

Request for update the linked object.

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

#### Parameters

`objNotifier` object

The linked object.

`arg` LinkEventArgs

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

### ReadTemplate(XmlReader)

Reads the template.

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

#### Parameters

`reader` XmlReader

The reader.

### 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(ArgumentBase)

Remove argument.

```csharp theme={null}
public bool Remove(ArgumentBase argumentBase)
```

#### Parameters

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

The argumentBase.

#### Returns

bool

### RemoveAt(int)

remove at

```csharp theme={null}
public void RemoveAt(int index)
```

#### Parameters

`index` int

### WriteTemplate(XmlWriter)

Writes the template.

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

#### Parameters

`writer` XmlWriter

The writer.

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