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
- format
Type: System.String
A composite format string.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.