Click or drag to resize

PropertySystemGetPathPropertyT Method

Gets a typed property value for a given path.

Namespace:  callback.ShellBoost.Core.WindowsPropertySystem
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static T GetPathProperty<T>(
	string path,
	PropertyKey property,
	T defaultValue
)

Parameters

path
Type: SystemString
The path.
property
Type: callback.ShellBoost.Core.WindowsPropertySystemPropertyKey
The property to retrieve.
defaultValue
Type: T
The default value to use if the property is not found.

Type Parameters

T
The expected property value type.

Return Value

Type: T
The property typed value or the default value.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
See Also