Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class InheritableDictionary<TKey, TValue\>

Last update: 16.07.2025

Namespace: VM.Collections
Assembly: VM.dll

public abstract class InheritableDictionary<tkey tvalue> : Dictionary<tkey tvalue>

Type Parameters

TKey

TValue

Inheritance

objectDictionaryInheritableDictionary

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

InheritableDictionary()

public InheritableDictionary()

InheritableDictionary(int)

public InheritableDictionary(int capacity)

Parameters

capacity int

InheritableDictionary(IEqualityComparer)

public InheritableDictionary(IEqualityComparer<tkey> comparer)

Parameters

comparer IEqualityComparer

InheritableDictionary(int, IEqualityComparer)

public InheritableDictionary(int capacity, IEqualityComparer<tkey> comparer)

Parameters

capacity int

comparer IEqualityComparer

InheritableDictionary(IDictionary)

public InheritableDictionary(IDictionary<tkey tvalue> dictionary)

Parameters

dictionary IDictionary

InheritableDictionary(IDictionary, IEqualityComparer)

public InheritableDictionary(IDictionary<tkey tvalue> dictionary, IEqualityComparer<tkey> comparer)

Parameters

dictionary IDictionary

comparer IEqualityComparer

InheritableDictionary(SerializationInfo, StreamingContext)

protected InheritableDictionary(SerializationInfo serializationInfo, StreamingContext streamingContext)

Parameters

serializationInfo SerializationInfo

streamingContext StreamingContext

Properties

this[TKey]

public TValue this[TKey key] { get; set; }

Property Value

TValue

Methods

Add(TKey, TValue)

public void Add(TKey key, TValue value)

Parameters

key TKey

value TValue

AddItem(TKey, TValue)

protected virtual void AddItem(TKey key, TValue value)

Parameters

key TKey

value TValue

Clear()

public void Clear()

ClearItems()

protected virtual void ClearItems()

Remove(TKey)

public bool Remove(TKey key)

Parameters

key TKey

Returns

bool

RemoveItem(TKey)

protected virtual bool RemoveItem(TKey key)

Parameters

key TKey

Returns

bool

Connect with Ansys