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:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public bool TryGetPropertyValue<T>(
	PropertyKey key,
	out T value,
	IFormatProvider provider = null
)

Parameters

key
Type: callback.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