Skip to main content
.NET 8.0+

ObjectFormatter.Format Method

Name Parameters Description
Format(String, Object, ICaptionHelper) static format, obj, captionHelper
Format(String, Object, EmptyEntriesMode, ICaptionHelper) static format, obj, mode, captionHelper
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.