C# Path Ellipsis without Win32 API call

Posted by Rezzie on Stack Overflow See other posts from Stack Overflow or by Rezzie
Published on 2010-03-27T13:32:55Z Indexed on 2010/03/27 13:43 UTC
Read the original article Hit count: 424

Filed under:
|
|
|

I have a long path I'd like to shorten for displaying on a form using the ellipsis character(s?).

I know there is the PathCompactPathEx Win32 API call, but I know there is a built-in .NET equivalent. I have used it previously, but cannot find it any more. Any hints, please?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET