Esporta (0) Stampa
Espandi tutto

Classe CultureInfoIetfLanguageTagConverter

Converts instances of CultureInfo to and from other data types.

Spazio dei nomi: System.Windows
Assembly: PresentationCore (in presentationcore.dll)
Spazio dei nomi XML:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public class CultureInfoIetfLanguageTagConverter : TypeConverter
public class CultureInfoIetfLanguageTagConverter extends TypeConverter
public class CultureInfoIetfLanguageTagConverter extends TypeConverter
<CultureInfoIetfLanguageTagConverter .../>

This class differs in two ways from CultureInfoConverter, the default type converter for the CultureInfo class.

  • Uses a string representation based on the IetfLanguageTag property rather than the Name property (i.e., RFC 3066 rather than RFC 1766).

  • When converting from a string, the properties of the resulting CultureInfo object depend only on the string and not on user overrides set in Control Panel. This makes it possible to create documents the appearance of which do not depend on local settings.

System.Object
   System.ComponentModel.TypeConverter
    System.Windows.CultureInfoIetfLanguageTagConverter

I membri statici pubblici (Shared in Visual Basic) di questo tipo sono validi per le operazioni multithreading. I membri di istanza non sono garantiti come thread safe.

Microsoft .NET Framework 3.0 è supportato in Windows Vista, Microsoft Windows XP SP2 e Windows Server 2003 SP1.

.NET Framework

Supportato in:

Aggiunte alla community

AGGIUNGI
Mostra:
© 2014 Microsoft