Udostępnij za pośrednictwem


VirtualPathProviderViewEngine.PartialViewLocationFormats Property

Gets or sets the partial-view location formats.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Property PartialViewLocationFormats As String()
    Get
    Set
public string[] PartialViewLocationFormats { get; set; }
public:
property array<String^>^ PartialViewLocationFormats {
    array<String^>^ get ();
    void set (array<String^>^ value);
}

Property Value

Type: System.String[]
The partial-view location formats.

Remarks

This property contains the locations where the view engine will search to find a partial view.

See Also

Reference

VirtualPathProviderViewEngine Class

System.Web.Mvc Namespace