Formatter<T> Delegate

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Returns a string representation of instance

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.Formatters
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
Public Delegate Function Formatter(Of T) ( _
    instance As T _
) As String
public delegate string Formatter<T>(
    T instance
)
generic<typename T>
public delegate String^ Formatter(
    T instance
)
JScript does not support generic types or methods.

Parameters

  • instance
    Type: T
    The instance to format.

Type Parameters

  • T
    The type to format.

Return Value

A string representing instance.

See Also

Microsoft.Practices.EnterpriseLibrary.Logging.Formatters Namespace