Returns the formatted property value of the child configuration at specified index. Properties of reference type can be followed to instead return a property of the referenced object. If no matching child or property is found, then an empty string is returned.
string ChildPropertyF(string format; int index; string propertyName; [string propertyName2]; ...)
format |
Format specifiers to apply when converting the property to string. Search Microsoft's documentation about "format strings". |
index |
Zero-based index of the child configuration to read the property from. |
propertyName |
Name of the property to read. |
propertyName2 |
Optional name of a property to read from an object that is referenced by the first property. |
Example
ChildPropertyF("yyyy-MM-dd"; 2; "CreationDate")
Returns the creation date in a format like "2023-12-31" of the third child configuration.