Click or drag to resize

ShellItemTryGetPropertyValueT Method (PropertyKey, T, IFormatProvider)

Gets a property key value and convert it to the expected type if needed.

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public bool TryGetPropertyValue<T>(
	PropertyKey key,
	out T value,
	IFormatProvider provider = null
)

Parameters

key
Type: ShellBoost.Core.WindowsPropertySystemPropertyKey
The property key.
value
Type: T
The value.
provider (Optional)
Type: SystemIFormatProvider
The format provider if a conversion is needed.

Type Parameters

T
The value expected type

Return Value

Type: Boolean
true if the value was read, false otherwise.
See Also