Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.golang.org.x.text.internal.language
  • Platforms: .NET, .NET Standard 2.0, Island
  • Ancestry:
    • ValueType | Region  .NET, .NET Standard 2.0, Island-watchOS-armv7k
    • ValueType | Region  Island-Android, Island-iOS Simulator, Island-iOS-arm64, Island-Mac Catalyst, Island-macOS, Island-tvOS Simulator, Island-tvOS-arm64, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows

constructor


// .NET, .NET Standard 2.0
constructor(aValue: UInt16)
// Island
constructor(aValue: uint16)
// .NET, .NET Standard 2.0
Region(UInt16 aValue)
// Island
Region(uint16 aValue)
// .NET, .NET Standard 2.0
init(_ aValue: UInt16)
// Island
init(_ aValue: uint16)
// .NET, .NET Standard 2.0
Sub New(aValue As UInt16)
// Island
Sub New(aValue As uint16)

Parameters:

  • aValue:

Canonicalize

method Canonicalize: Region
func Canonicalize() -> Region
func Canonicalize() Region
Function Canonicalize() As Region

Contains

method Contains(c: Region): bool
func Contains(_ c: Region) -> bool
func Contains(c Region) bool
Function Contains(c As Region) As bool

Parameters:

  • c:

Equals

method Equals(value: Object): Boolean
Boolean Equals(Object value)
func Equals(_ value: Object) -> Boolean
func Equals(value interface{}) Boolean
Function Equals(value As Object) As Boolean

Parameters:

  • value:

GetHashCode

method GetHashCode: Int32
func GetHashCode() -> Int32
Function GetHashCode() As Int32

IsCountry

Function IsCountry() As bool

IsGroup

Function IsGroup() As bool

ISO3

Function ISO3() As string

IsPrivateUse

method IsPrivateUse: bool
func IsPrivateUse() -> bool
Function IsPrivateUse() As bool

M49


String

Function String() As string

TLD

method TLD: tuple of (Region, error)
func TLD() -> tuple of (Region, error)
func TLD() tuple of (Region, error)
Function TLD() As Tuple (Of Region, error)

Value

constructor


// .NET, .NET Standard 2.0
constructor(aValue: UInt16)
// Island
constructor(aValue: uint16)
// .NET, .NET Standard 2.0
Region(UInt16 aValue)
// Island
Region(uint16 aValue)
// .NET, .NET Standard 2.0
init(_ aValue: UInt16)
// Island
init(_ aValue: uint16)
// .NET, .NET Standard 2.0
Sub New(aValue As UInt16)
// Island
Sub New(aValue As uint16)

Parameters:

  • aValue:

Canonicalize

method Canonicalize: Region
func Canonicalize() -> Region
func Canonicalize() Region
Function Canonicalize() As Region

Contains

method Contains(c: Region): bool
func Contains(_ c: Region) -> bool
func Contains(c Region) bool
Function Contains(c As Region) As bool

Parameters:

  • c:

Equals

method Equals(value: Object): Boolean
Boolean Equals(Object value)
func Equals(_ value: Object) -> Boolean
func Equals(value interface{}) Boolean
Function Equals(value As Object) As Boolean

Parameters:

  • value:

GetHashCode

method GetHashCode: Int32
func GetHashCode() -> Int32
Function GetHashCode() As Int32

IsCountry

Function IsCountry() As bool

IsGroup

Function IsGroup() As bool

ISO3

Function ISO3() As string

IsPrivateUse

method IsPrivateUse: bool
func IsPrivateUse() -> bool
Function IsPrivateUse() As bool

M49


String

Function String() As string

TLD

method TLD: tuple of (Region, error)
func TLD() -> tuple of (Region, error)
func TLD() tuple of (Region, error)
Function TLD() As Tuple (Of Region, error)