Uri

Overview

Base class for uniform resource identifiers.

Location

  • Reference:
    • Elements.dll  .NET, .NET Core 6.0, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2


Class Methods


TryUriWithString

Try parse an URL, returns null on failure.

 

class method TryUriWithString(aUriString: nullable String): Uri

 

static Uri TryUriWithString(String? aUriString)

 

// Toffee
static func TryUriWithString(_ aUriString: String) -> Uri
// ToffeeV2
static func TryUriWithString(_ aUriString: String?) -> Uri

 

static Uri TryUriWithString(String aUriString)

 

Shared Function TryUriWithString(aUriString As String?) As Uri

Parameters:

  • aUriString:

UriWithString

Parse an URL, throws an exception on failure.

 

class method UriWithString(aUriString: not nullable String): Uri

 

static Uri UriWithString(String! aUriString)

 

static func UriWithString(_ aUriString: String) -> Uri

 

static Uri UriWithString(String aUriString)

 

Shared Function UriWithString(aUriString As String) As Uri

Parameters:

  • aUriString:

Instance Methods


compare Toffee, ToffeeV2

 

func compare(_ rhs: Uri) -> NSComparisonResult

Parameters:

  • rhs:

CompareTo

 

method CompareTo(rhs: Uri): Int32

 

Int32 CompareTo(Uri rhs)

 

func CompareTo(_ rhs: Uri) -> Int32

 

Integer CompareTo(Uri rhs)

 

Function CompareTo(rhs As Uri) As Int32

Parameters:

  • rhs: