Exposing a Path with Filename as a Property

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I was just going to use a string property to hold the path to images of my
control, but then was thinking that maybe .NET had a better contrainer for
Paths...
The path could be any valid path including just a file name, a relative
path, or an absolute path.

Thanks for your advice

Earl
 
Earl,

There is a Path class, but it contains utility functions (all static)
that are used to help resolve path names. I would recommend using a string
(since there isn't something in the framework that handles this), and then
resolving them using the static functions on the Path class (in the
System.IO namespace).

Hope this helps.
 
Back
Top