PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Formatted­Message­Builder Class/Formatted­Message­Builder Methods/Formatted­Message­Builder.​Formatted Method/Formatted­Message­Builder.​Formatted Method (String, Object[])

FormattedMessageBuilder.Formatted Method (String, Object[])

Creates a formatted string with an arbitrary number of parameters.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public static FormattedMessageArray Formatted(
	string formattingString,
	params Object[] args
)

Parameters

formattingString
Type: System.String
The formatting string.
args
Type: System.Object[]

Return Value

Type: FormattedMessageArray
See Also