StringExtensionsFormattedString Method |
Format string with placeholders for attribute values, references and escape sequences
Namespace:
Aloe.EnterpriseOne.Model.Core.Expressions
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static string FormattedString(
this string encoded,
DomainObject obj
)
<ExtensionAttribute>
Public Shared Function FormattedString (
encoded As String,
obj As DomainObject
) As String
public:
[ExtensionAttribute]
static String^ FormattedString(
String^ encoded,
DomainObject^ obj
)
[<ExtensionAttribute>]
static member FormattedString :
encoded : string *
obj : DomainObject -> string
Parameters
- encoded
- Type: SystemString
String with placeholders to format - obj
- Type: Aloe.SystemFrameworks.DomainDomainObject
Object to use for placeholder values
Return Value
Type:
StringFormatted strings
Usage 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).
Remarks
https://docs.erp.net/tech/formattedstring-in-implementation-808550544.html
See Also