Desktop Functions: Smart Device Functions:
|
PathStripPath (shlwapi)
C# Signature:
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)] VB Signature:
Declare Function PathStripPath Lib "shlwapi.dll" (TODO) As TODO User-Defined Types:None. Notes:This is similar, but not identical, to Path.GetFileName. If the input string ends with a directory, the directory is returned rather than nothing; for example, "C:\foo\" becomes "foo\", "C:" stays "C:". Tips & Tricks:Please add some! Sample Code:
StringBuilder str = new StringBuilder(@"c:\dir1\file.txt"); Alternative Managed API:Path.GetFileName Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|