Share via


ToStringHelper.FormatProvider Property

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

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

Syntax

'Declaration
Public Shared Property FormatProvider As IFormatProvider
'Usage
Dim value As IFormatProvider 

value = ToStringHelper.FormatProvider 

ToStringHelper.FormatProvider = value
public static IFormatProvider FormatProvider { get; set; }
public:
static property IFormatProvider^ FormatProvider {
    IFormatProvider^ get ();
    void set (IFormatProvider^ value);
}
public static function get FormatProvider () : IFormatProvider 
public static function set FormatProvider (value : IFormatProvider)

Property Value

Type: System.IFormatProvider
An IFormatProvider that contains the culture-specific formatting information. The default is InvariantCulture.

.NET Framework Security

See Also

Reference

ToStringHelper Class

ToStringHelper Members

Microsoft.VisualStudio.TextTemplating Namespace

ToStringWithCulture

IFormatProvider

InvariantCulture