Show / Hide Table of Contents

    Interface ICustomFormatter

    Defines a method that supports custom formatting of the value of an object.

    Namespace: System
    Assembly: mscorlib.dll
    Syntax
    public interface ICustomFormatter
    Remarks

    Available only in mscorlib build with support for System.Reflection.

    Methods

    | Improve this Doc View Source

    Format(String, Object, IFormatProvider)

    Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.

    Declaration
    string Format(string format, object arg, IFormatProvider formatProvider)
    Parameters
    Type Name Description
    String format

    A format string containing formatting specifications.

    Object arg

    An object to format.

    IFormatProvider formatProvider

    An object that supplies format information about the current instance.

    Returns
    Type Description
    String

    The string representation of the value of arg, formatted as specified by format and formatProvider.

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 nanoFramework Contributors
    Generated by DocFX