/// <summary> /// Creates a language identifier from a primary language identifier and a sublanguage identifier. /// </summary> /// <param name="ePrimaryLanguage"> /// Primary language identifier. This identifier can be a predefined value or a value for a user-defined primary /// language. For a user-defined language, the identifier is a value in the range 0x0200 to 0x03FF. All other /// values are reserved for operating system use. For more information, see Language Identifier Constants and /// Strings. /// </param> /// <param name="eSubLanguage"> /// Sublanguage identifier. This parameter can be a predefined sublanguage identifier or a user-defined /// sublanguage. For a user-defined sublanguage, the identifier is a value in the range 0x20 to 0x3F. All other /// values are reserved for operating system use. For more information, see Language Identifier Constants and /// Strings. /// </param> /// <returns>Returns the language identifier.</returns> public static LANGID MAKELANGID(LANGID.PrimaryLanguage ePrimaryLanguage, LANGID.SubLanguage eSubLanguage) { return new LANGID { Primary = ePrimaryLanguage, Sub = eSubLanguage }; }
public bool Equals(LANGID other) => other.RawValue == RawValue;