Essential Kit
Loading...
Searching...
No Matches
URLString

Struct value to represent the location of a resource, such as an item on a remote server or the path to a local file.

Public Member Functions

override string ToString ()
 Returns the URL representation in string format. This value is null, if given URL is invalid.
 

Static Public Member Functions

static URLString URLWithPath (string path)
 Returns a newly created object as a http URL with specified path.
 
static URLString FileURLWithPath (string path)
 Returns a newly created object as a file URL with a specified path.
 

Properties

bool IsValid [get]
 Gets a value indicating whether this URLString is valid.
 

Member Function Documentation

◆ URLWithPath()

static URLString URLWithPath ( string path)
static
Parameters
pathThe path should be a valid web URL path.

References URLString.IsValid.

◆ FileURLWithPath()

static URLString FileURLWithPath ( string path)
static
Parameters
pathThe path should be a valid system path.

References URLString.IsValid.

◆ ToString()

override string ToString ( )
Returns
The URL string.

References URLString.IsValid.

Referenced by WebView.LoadURL().

Property Documentation

◆ IsValid