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.12.0 (in Microsoft.VisualStudio.TextTemplating.12.0.dll)

System.Object
  Microsoft.VisualStudio.TextTemplating.ToStringHelper

public static class ToStringHelper

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticFormatProvider

Gets or sets the culture-specific formatting information that is used when calling ToStringWithCulture.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticToStringWithCulture(Object)

Returns a String that represents the specified Object.

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.

Return to top
Show: