[This is preliminary documentation and is subject to change.]
Interprets template of the form: Some text {@value_name@:C} by replacing with property/field values.
Note: this function does not recognize escapes for simplicity (as escapes can be replaced by regular strings instead).
Matched is set to true if at least one property match was made
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static string ArgsTpl(
this string tpl,
Object args,
out bool matched
)
public static string ArgsTpl(
this string tpl,
Object args,
out bool matched
)
<ExtensionAttribute>
Public Shared Function ArgsTpl (
tpl As String,
args As Object,
<OutAttribute> ByRef matched As Boolean
) As String
<ExtensionAttribute>
Public Shared Function ArgsTpl (
tpl As String,
args As Object,
<OutAttribute> ByRef matched As Boolean
) As String
public:
[ExtensionAttribute]
static String^ ArgsTpl(
String^ tpl,
Object^ args,
[OutAttribute] bool% matched
)
public:
[ExtensionAttribute]
static String^ ArgsTpl(
String^ tpl,
Object^ args,
[OutAttribute] bool% matched
)
static member ArgsTpl :
tpl : string *
args : Object *
matched : bool byref -> string
static member ArgsTpl :
tpl : string *
args : Object *
matched : bool byref -> 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).