Appearance
GetDictionaryTypes Method
Definition
- Namespace:
JASE - Assembly:
JASE.ReflectionTools.dll
void GetDictionaryTypes(IDictionary dict, out Type key, out Type value)
csharp
void GetDictionaryTypes(IDictionary dict, out Type key, out Type value)Retrieves the key and value type arguments of a generic IDictionary instance, if available.
Parameters
| Name | Description |
|---|---|
dict | The dictionary to inspect. |
key | Outputs the key type, or null if not found. |
value | Outputs the value type, or null if not found. |