Condividi tramite


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

Syntax

'Declaration
Public Shared Property FormatProvider As IFormatProvider
public static IFormatProvider FormatProvider { get; set; }
public:
static property IFormatProvider^ FormatProvider {
    IFormatProvider^ get ();
    void set (IFormatProvider^ value);
}
static member FormatProvider : IFormatProvider with get, set
static function get FormatProvider () : IFormatProvider 
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

Microsoft.VisualStudio.TextTemplating Namespace

ToStringWithCulture

IFormatProvider

InvariantCulture