ToStringHelper Class

A utility class that is used to produce a culture-specific representation of an Object as a String.

Namespace:  Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating (in Microsoft.VisualStudio.TextTemplating.dll)

Syntax

'Declaration
Public NotInheritable Class ToStringHelper
'Usage
You do not need to declare an instance of a static class in order to access its members.
public static class ToStringHelper
public ref class ToStringHelper abstract sealed
public final class ToStringHelper

Remarks

ToStringHelper is used by the text template transformation engine to convert objects within an expression block into strings.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TextTemplating.ToStringHelper

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ToStringHelper Members

Microsoft.VisualStudio.TextTemplating Namespace

Object

String

ToString

Other Resources

How to: Specify a Culture in Text Templates