Click or drag to resize

ShellItemGetPropertyValueT Method (PropertyKey, FuncT)

Gets a typed property key value.

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public virtual T GetPropertyValue<T>(
	PropertyKey key,
	Func<T> defaultValue
)

Parameters

key
Type: ShellBoost.Core.WindowsPropertySystemPropertyKey
The property key.
defaultValue
Type: SystemFuncT
The default value function to use if the value was not found.

Type Parameters

T
The expected value type.

Return Value

Type: T
A value.
Exceptions
ExceptionCondition
ArgumentNullExceptiondefaultValue is null.
See Also