PropertySystemGetPathPropertyT Method |
Gets a typed property value for a given path.
Namespace:
ShellBoost.Core.WindowsPropertySystem
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static T GetPathProperty<T>(
string path,
PropertyKey property,
T defaultValue
)
Parameters
- path
- Type: SystemString
The path. - property
- Type: 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:
TThe property typed value or the default value.
Exceptions See Also