The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ObjectFormatter.Format Method

Name Parameters Description
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.

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.