Skip to main content
A newer version of this page is available. .

ObjectFormatter.Format Method

Name Parameters Description
Format(String, Object, EmptyEntriesMode) static format, obj, mode Replaces format items in the specified string with the values of the specified object’s properties. Allows you to specify the EmptyEntriesMode mode of processing the passed string.
Format(String, Object) static format, obj Replaces format items in the specified string with the values of the specified object’s properties. Uses the EmptyEntriesMode.Default mode of processing the passed string.