Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class DictionaryExtensions

Last update: 16.07.2025

Namespace: VM.Models.Pre
Assembly: VM.Models.Pre.dll

public static class DictionaryExtensions

Inheritance

object ← DictionaryExtensions

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Methods

TryChangeKey<TKey, TValue>(IDictionary<TKey, TValue>, TKey, TKey)

public static bool TryChangeKey<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey fromKey, TKey toKey)

Parameters

dictionary IDictionary<TKey, TValue>

fromKey TKey

toKey TKey

Returns

bool

Type Parameters

TKey

TValue

Connect with Ansys