|
DictionaryExtensionsContainsSameKeysTKey, TValue Method |
Check if the two dictionaries have the same keys
Namespace: DrawerBackup.Native.ExtensionsAssembly: DrawerBackup.Native (in DrawerBackup.Native.dll) Version: 0.0.1.1 (0.0.1.1)
Syntaxpublic static bool ContainsSameKeys<TKey, TValue>(
this IDictionary<TKey, TValue> from,
IDictionary<TKey, TValue> to
)
<ExtensionAttribute>
Public Shared Function ContainsSameKeys(Of TKey, TValue) (
from As IDictionary(Of TKey, TValue),
to As IDictionary(Of TKey, TValue)
) As Boolean
public:
[ExtensionAttribute]
generic<typename TKey, typename TValue>
static bool ContainsSameKeys(
IDictionary<TKey, TValue>^ from,
IDictionary<TKey, TValue>^ to
)
[<ExtensionAttribute>]
static member ContainsSameKeys :
from : IDictionary<'TKey, 'TValue> *
to : IDictionary<'TKey, 'TValue> -> bool
Parameters
- from
- Type: System.Collections.GenericIDictionaryTKey, TValue
Parent Dictionary - to
- Type: System.Collections.GenericIDictionaryTKey, TValue
Child Dictionary
Type Parameters
- TKey
- TValue
Return Value
Type:
BooleanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDictionaryTKey,
TValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also