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