IgnoreList.Ignore Method (String, OptimizationMode)
Ignores the specified pattern when in the appropriate OptimizationMode.
Namespace: System.Web.Optimization
Assembly: System.Web.Optimization (in System.Web.Optimization.dll)
Syntax
'Declaration
Public Sub Ignore ( _
pattern As String, _
mode As OptimizationMode _
)
'Usage
Dim instance As IgnoreList
Dim pattern As String
Dim mode As OptimizationMode
instance.Ignore(pattern, mode)
public void Ignore(
string pattern,
OptimizationMode mode
)
public:
void Ignore(
String^ pattern,
OptimizationMode mode
)
member Ignore :
pattern:string *
mode:OptimizationMode -> unit
public function Ignore(
pattern : String,
mode : OptimizationMode
)
Parameters
- pattern
Type: System.String
The ignore pattern.
- mode
Type: System.Web.Optimization.OptimizationMode
The OptimizationMode in which to apply the ignore pattern.