Modifier

Partager via


HostingEnvironment.IsDevelopmentEnvironment Property

Definition

Gets a value that indicates whether the current application is in a development environment.

public:
 static property bool IsDevelopmentEnvironment { bool get(); };
public static bool IsDevelopmentEnvironment { get; }
static member IsDevelopmentEnvironment : bool
Public Shared ReadOnly Property IsDevelopmentEnvironment As Boolean

Property Value

true if the application is in a development environment; otherwise, false.

Applies to