Click or drag to resize

ExtensionsGetValue Method (IDictionaryPropertyKey, Object, PropertyKey, Object)

Gets a value from a PropertyKey dictionary.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static Object GetValue(
	this IDictionary<PropertyKey, Object> dictionary,
	PropertyKey key,
	Object defaultValue = null
)

Parameters

dictionary
Type: System.Collections.GenericIDictionaryPropertyKey, Object
The dictionary.
key
Type: callback.ShellBoost.Core.WindowsPropertySystemPropertyKey
The PropertyKey.
defaultValue (Optional)
Type: SystemObject
The default value.

Return Value

Type: Object
The result value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDictionaryPropertyKey, Object. 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