[This is preliminary documentation and is subject to change.]
Shortcut helper for string.Format(tpl, params object[] args)
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static string Args(
this string tpl,
params Object[] args
)
public static string Args(
this string tpl,
params Object[] args
)
<ExtensionAttribute>
Public Shared Function Args (
tpl As String,
ParamArray args As Object()
) As String
<ExtensionAttribute>
Public Shared Function Args (
tpl As String,
ParamArray args As Object()
) As String
public:
[ExtensionAttribute]
static String^ Args(
String^ tpl,
... array<Object^>^ args
)
public:
[ExtensionAttribute]
static String^ Args(
String^ tpl,
... array<Object^>^ args
)
static member Args :
tpl : string *
args : Object[] -> string
static member Args :
tpl : string *
args : Object[] -> string
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).