PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / IFormatting­Service Interface / IFormatting­Service Methods / IFormatting­Service.​Format Method / IFormatting­Service.​Format Method (String, Object[])

IFormattingService.Format Method (String, Object[])

Formats a string with the default IFormatProvider.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
string Format(
	string format,
	params Object[] arguments
)

Parameters

format
Type: System.String
The formatting string.
arguments
Type: System.Object[]
Arguments.

Return Value

Type: String
The formatted string where parameters in format are replaced by formatted [!:arguments].
See Also