Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
AbstractKeyBasedCache..::.ToString Method
AbstractKeyBasedCache Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Returns a string representation of this cache.

Namespace: Tangosol.Net.Cache.Support
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.0)

# Syntax

C#
    public override string ToString()

#### Return Value

A string representation of this cache.

# Remarks

The string representation consists of a list of key-value mappings in the order returned by the cache's Entries enumerator, enclosed in braces (

    "{}"

). Adjacent mappings are separated by the characters

    ", "

(comma and space). Each key-value mapping is rendered as the key followed by an equals sign (

    "="

) followed by the associated value. Keys and values are converted to strings as by

    object.ToString()

.

# See Also

AbstractKeyBasedCache Class
Tangosol.Net.Cache.Support Namespace