Share via


FileExtensionReplacementList.Add Method (String, OptimizationMode)

Add a file extension for a specified OptimizationMode.

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

Syntax

'Declaration
Public Sub Add ( _
    extension As String, _
    mode As OptimizationMode _
)
'Usage
Dim instance As FileExtensionReplacementList 
Dim extension As String 
Dim mode As OptimizationMode

instance.Add(extension, mode)
public void Add(
    string extension,
    OptimizationMode mode
)
public:
void Add(
    String^ extension, 
    OptimizationMode mode
)
member Add : 
        extension:string * 
        mode:OptimizationMode -> unit
public function Add(
    extension : String, 
    mode : OptimizationMode
)

Parameters

See Also

Reference

FileExtensionReplacementList Class

Add Overload

System.Web.Optimization Namespace