Skip to main content
Namespace: VM.Managed.Simulation
Assembly: VMDFBase.dll
This class is to represent the extra simulation configuration collection.

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainer ← ConfigurationExtraCollection

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), 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), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

ConfigurationExtraCollection()

Initializes a new instance of the ConfigurationExtraCollection class.

Properties

Count

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

Property Value

int

Keys

Gets an ICollection1 containing the keys of the IDictionary2.

Property Value

ICollection<string>

Values

Gets an ICollection1 containing the values in the IDictionary2.

Property Value

ICollection<SimulationConfigurationExtraBase>

this[string]

Gets or sets the SimulationConfigurationExtraBase with the specified key.

Property Value

SimulationConfigurationExtraBase

Methods

Add(string, SimulationConfigurationExtraBase)

Adds an element with the provided key and value to the IDictionary`2.

Parameters

key string The object to use as the key of the element to add. value SimulationConfigurationExtraBase The object to use as the value of the element to add.

Exceptions

ArgumentNullException key is null. ArgumentException An element with the same key already exists in the IDictionary`2. NotSupportedException The IDictionary`2 is read-only.

Clear()

Removes all items from the ICollection`1.

Exceptions

NotSupportedException The ICollection`1 is read-only.

ContainsKey(string)

Determines whether the IDictionary`2 contains an element with the specified key.

Parameters

key string The key to locate in the IDictionary`2.

Returns

bool true if the IDictionary`2 contains an element with the key; otherwise, false.

Exceptions

ArgumentNullException key is null.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Returns

IEnumerator<KeyValuePair<string, SimulationConfigurationExtraBase>> 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 null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.

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.

ReadXml(XmlReader)

Generates an object from its XML representation.

Parameters

reader XmlReader The XmlReader stream from which the object is deserialized.

Remove(string)

Removes the element with the specified key from the IDictionary`2.

Parameters

key string The key of the element to remove.

Returns

bool true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original IDictionary`2.

Exceptions

ArgumentNullException key is null. NotSupportedException The IDictionary`2 is read-only.

TryGetValue(string, out SimulationConfigurationExtraBase)

Gets the value associated with the specified key.

Parameters

key string The key whose value to get. value SimulationConfigurationExtraBase When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Returns

bool true if the object that implements IDictionary`2 contains an element with the specified key; otherwise, false.

Exceptions

ArgumentNullException key is null.

WriteXml(XmlWriter)

Converts an object into its XML representation.

Parameters

writer XmlWriter The XmlWriter stream to which the object is serialized.