Enum PathMode
Defines a path mode, absolute, relative or prefixed with an environment variable.
public enum PathMode
- Extension Methods
Fields (4)
Absolute = 0Represents a absolute path.
EnvVar = 2Represents a path prefixed with an environment variable.
Relative = 1Represents a relative path.
Variable = 3Represents a path that contains variable(s).
Remarks
Since the a PathMode value can be variable, this enumeration can favor a generic way of coding in certain situations, by replacing calls to getters like IsAbsolutePath, IsRelativePath or IsEnvVarPath by calls to PathMode.