StringExtensionMethodsAsFormatted Method |
Formats the specified formatted string. Usable on constant strings, without falling back to String.Format()
Namespace:
SD.Tools.BCLExtensions.SystemRelated
Assembly:
SD.Tools.BCLExtensions (in SD.Tools.BCLExtensions.dll) Version: 1.2.0
Syntax public static string AsFormatted(
this string formattedString,
params Object[] arguments
)
<ExtensionAttribute>
Public Shared Function AsFormatted (
formattedString As String,
ParamArray arguments As Object()
) As String
Parameters
- formattedString
- Type: SystemString
The formatted string. - arguments
- Type: SystemObject
The arguments.
Return Value
Type:
StringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also