System.ComponentModel.SyntaxCheck.CheckRootedPath C# (CSharp) Method

CheckRootedPath() public static method

public static CheckRootedPath ( string value ) : bool
value string
return bool
        public static bool CheckRootedPath(string value) {
            if (value == null) 
                return false;
            
            value = value.Trim();                
            if (value.Equals(String.Empty))
                return false;

            // Is it rooted?
            return Path.IsPathRooted(value);
        }
    }