System.ComponentModel.Navigation.ViewActionResult.ViewActionResult C# (CSharp) Method

ViewActionResult() private method

Initializes an instance of a ViewActionResult with the specified view.
private ViewActionResult ( string viewName ) : System
viewName string The name of the view to create.
return System
        internal ViewActionResult(string viewName)
        {
            if (String.IsNullOrEmpty(viewName)) {
                throw new ArgumentNullException("viewName");
            }

            _viewName = viewName;
        }
ViewActionResult