System.Globalization.CompareInfo.ToString Method

Returns a string that represents the current System.Globalization.CompareInfo object.

Syntax

public override string ToString ()

Returns

A string that represents the current System.Globalization.CompareInfo object.

Remarks

This method overrides the object.ToString method. It returns a string that consists of the class name and the value of the instance CompareInfo.Name property, separated by a hyphen.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0