Share via


CssRewriteUrlTransform.Process Method

Converts any urls in the input to absolute using the base directory of the include virtual path.

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

Syntax

'Declaration
Public Function Process ( _
    includedVirtualPath As String, _
    input As String _
) As String
'Usage
Dim instance As CssRewriteUrlTransform 
Dim includedVirtualPath As String 
Dim input As String 
Dim returnValue As String 

returnValue = instance.Process(includedVirtualPath, _
    input)
public string Process(
    string includedVirtualPath,
    string input
)
public:
virtual String^ Process(
    String^ includedVirtualPath, 
    String^ input
) sealed
abstract Process : 
        includedVirtualPath:string * 
        input:string -> string  
override Process : 
        includedVirtualPath:string * 
        input:string -> string
public final function Process(
    includedVirtualPath : String, 
    input : String
) : String

Parameters

  • includedVirtualPath
    Type: System.String
    includedVirtualPath">The virtual path that was included in the bundle for this item that is being transformed.
  • input
    Type: System.String
    Example: bundle.Include("~/content/some.css") will transform url(images/1.jpg) => url(/content/images/1.jpg)

Return Value

Type: System.String
Returns String.

Implements

IItemTransform.Process(String, String)

See Also

Reference

CssRewriteUrlTransform Class

System.Web.Optimization Namespace