FileServerOptions.EnableDirectoryBrowsing Property
Directory browsing is disabled by default.
Namespace: Microsoft.Owin.StaticFiles
Assembly: Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)
Syntax
'Declaration
Public Property EnableDirectoryBrowsing As Boolean
Get
Set
'Usage
Dim instance As FileServerOptions
Dim value As Boolean
value = instance.EnableDirectoryBrowsing
instance.EnableDirectoryBrowsing = value
public bool EnableDirectoryBrowsing { get; set; }
public:
property bool EnableDirectoryBrowsing {
bool get ();
void set (bool value);
}
member EnableDirectoryBrowsing : bool with get, set
function get EnableDirectoryBrowsing () : boolean
function set EnableDirectoryBrowsing (value : boolean)
Property Value
Type: System.Boolean
Returns Boolean.