Struct LegacyTradosLanguage
Implements
IXmlSerializable
Inherited Members
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Assembly: Sdl.Core.Globalization.dll
Syntax
public struct LegacyTradosLanguage
Constructors
LegacyTradosLanguage(Int32)
Declaration
public LegacyTradosLanguage(int lcid)
Parameters
Type |
Name |
Description |
Int32 |
lcid |
|
LegacyTradosLanguage(String)
Declaration
public LegacyTradosLanguage(string isoCode)
Parameters
Type |
Name |
Description |
String |
isoCode |
|
Properties
IsInstalled
Declaration
public readonly bool IsInstalled { get; }
Property Value
IsoCode
Declaration
public readonly string IsoCode { get; }
Property Value
IsProprietary
Declaration
public readonly bool IsProprietary { get; }
Property Value
IsValid
Declaration
public readonly bool IsValid { get; }
Property Value
Lcid
Declaration
public readonly int Lcid { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
System.ValueType.Equals(System.Object)
GetAllLcids()
Declaration
public static int[] GetAllLcids()
Returns
GetEnglishLanguageNameFromLcid()
Declaration
public string GetEnglishLanguageNameFromLcid()
Returns
GetEnglishLanguageNameFromLcid(Int32)
Declaration
public static string GetEnglishLanguageNameFromLcid(int lcid)
Parameters
Type |
Name |
Description |
Int32 |
lcid |
|
Returns
GetEnglishNameFromLcid(Int32)
Declaration
public static string GetEnglishNameFromLcid(int lcid)
Parameters
Type |
Name |
Description |
Int32 |
lcid |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
System.ValueType.GetHashCode()
GetIsoCodeFromLcid(Int32, Boolean)
Declaration
public static string GetIsoCodeFromLcid(int lcid, bool includeCountry)
Parameters
Type |
Name |
Description |
Int32 |
lcid |
|
Boolean |
includeCountry |
|
Returns
GetLanguageCode(Int32)
Declaration
public static string GetLanguageCode(int primaryLanguageCode)
Parameters
Type |
Name |
Description |
Int32 |
primaryLanguageCode |
|
Returns
GetLcidFromIsoCode(String)
Declaration
public static int GetLcidFromIsoCode(string isoCode)
Parameters
Type |
Name |
Description |
String |
isoCode |
|
Returns
GetLcids(Int32)
Declaration
public static int[] GetLcids(int primaryLanguageCode)
Parameters
Type |
Name |
Description |
Int32 |
primaryLanguageCode |
|
Returns
Declaration
public string GetLocaleInfo(LanguageFormat languageFormat, bool includeCountry)
Parameters
Type |
Name |
Description |
LanguageFormat |
languageFormat |
|
Boolean |
includeCountry |
|
Returns
Declaration
public static string GetLocaleInfo(int lcid, LanguageFormat languageFormat, bool includeCountry)
Parameters
Type |
Name |
Description |
Int32 |
lcid |
|
LanguageFormat |
languageFormat |
|
Boolean |
includeCountry |
|
Returns
GetNativeLanguageNameFromLcid()
Declaration
public string GetNativeLanguageNameFromLcid()
Returns
GetNativeLanguageNameFromLcid(Int32)
Declaration
public static string GetNativeLanguageNameFromLcid(int lcid)
Parameters
Type |
Name |
Description |
Int32 |
lcid |
|
Returns
GetNativeNameFromLcid(Int32)
Declaration
public static string GetNativeNameFromLcid(int lcid)
Parameters
Type |
Name |
Description |
Int32 |
lcid |
|
Returns
GetSchema()
Declaration
public XmlSchema GetSchema()
Returns
Type |
Description |
XmlSchema |
|
IsDefaultForCountry(Int32)
Declaration
public static bool IsDefaultForCountry(int lcid)
Parameters
Type |
Name |
Description |
Int32 |
lcid |
|
Returns
IsInstalledLcid(Int32)
Declaration
public static bool IsInstalledLcid(int lcid)
Parameters
Type |
Name |
Description |
Int32 |
lcid |
|
Returns
IsProprietaryLcid(Int32)
Declaration
public static bool IsProprietaryLcid(int lcid)
Parameters
Type |
Name |
Description |
Int32 |
lcid |
|
Returns
ReadXml(XmlReader)
Declaration
public void ReadXml(XmlReader reader)
Parameters
Type |
Name |
Description |
XmlReader |
reader |
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
System.ValueType.ToString()
UsesCharacterCounts()
Declaration
public bool UsesCharacterCounts()
Returns
UsesCharacterCounts(Int32)
Declaration
public static bool UsesCharacterCounts(int lcid)
Parameters
Type |
Name |
Description |
Int32 |
lcid |
|
Returns
WriteXml(XmlWriter)
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type |
Name |
Description |
XmlWriter |
writer |
|
Implements
System.Xml.Serialization.IXmlSerializable