Method Pidl.FromString
Overload
Converts string to ITEMIDLIST and creates new Pidl variable that holds it.
public static Pidl FromString(string s, bool throwIfFailed = false)
Parameters
s (string)
A file-system path or URL or shell object parsing name (see Pidl.ToShellString) or |
throwIfFailed (bool)
Throw exception if failed. |
Returns
Pidl
|
Exceptions
AuException
Failed, and throwIfFailed is |
Remarks
Calls SHParseDisplayName, except when string is ":: ITEMIDLIST"
.
If ":: ITEMIDLIST"
, does not check whether the shell object exists.