Export (0) Print
Expand All

ToStringHelper Class

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

System.Object
  Microsoft.VisualStudio.TextTemplating.ToStringHelper

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

public static class ToStringHelper

The ToStringHelper type exposes the following members.

  NameDescription
Public propertyStatic memberFormatProviderGets or sets the culture-specific formatting information that is used when calling ToStringWithCulture.
Top

  NameDescription
Public methodStatic memberToStringWithCultureReturns a String that represents the specified Object.
Top

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

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