Error.Format Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Formats the specified resource string using CurrentCulture().

Namespace:  System.Web.Http.Common
Assembly:  System.Web.Http.Common (in System.Web.Http.Common.dll)

Syntax

'Declaration
Public Shared Function Format ( _
    format As String, _
    ParamArray args As Object() _
) As String
public static string Format(
    string format,
    params Object[] args
)
public:
static String^ Format(
    String^ format, 
    ... array<Object^>^ args
)
static member Format : 
        format:string * 
        args:Object[] -> string 
public static function Format(
    format : String, 
    ... args : Object[]
) : String

Parameters

  • args
    Type: System.Object[]
    An object array that contains zero or more objects to format.

Return Value

Type: System.String
The formatted string.

.NET Framework Security

See Also

Reference

Error Class

System.Web.Http.Common Namespace