Partager via


Styles.RenderFormat Method

Renders link tags for a set of paths based on a format string.

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

Syntax

'Declaration
Public Shared Function RenderFormat ( _
    tagFormat As String, _
    ParamArray paths As String() _
) As IHtmlString
'Usage
Dim tagFormat As String 
Dim paths As String()
Dim returnValue As IHtmlString 

returnValue = Styles.RenderFormat(tagFormat, _
    paths)
public static IHtmlString RenderFormat(
    string tagFormat,
    params string[] paths
)
public:
static IHtmlString^ RenderFormat(
    String^ tagFormat, 
    ... array<String^>^ paths
)
static member RenderFormat : 
        tagFormat:string * 
        paths:string[] -> IHtmlString
public static function RenderFormat(
    tagFormat : String, 
    ... paths : String[]
) : IHtmlString

Parameters

  • tagFormat
    Type: System.String
    Format string for defining the rendered link tags.
  • paths
    Type: System.String[]
    Set of virtual paths for which to generate link tags.

Return Value

Type: System.Web.IHtmlString
A HTML string containing the link tag or tags for the bundle.

See Also

Reference

Styles Class

System.Web.Optimization Namespace