Click or drag to resize

Extensions.GetValue Method (IDictionary<PropertyKey, 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.Generic.IDictionary<PropertyKey, Object>
The dictionary.
key
Type: callback.ShellBoost.Core.WindowsPropertySystem.PropertyKey
The PropertyKey.
defaultValue (Optional)
Type: System.Object
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 IDictionary<PropertyKey, 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