Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.