Class Uri
Provides an object representation of a uniform resource identifier (URI)
and easy access to the parts of the URI.
Inheritance
System.Object
Uri
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: cs.temp.dll.dll
Syntax
Constructors
Uri(String)
Declaration
public Uri(string uriString)
Parameters
Type |
Name |
Description |
System.String |
uriString |
|
Fields
m_AbsolutePath
Declaration
protected string m_AbsolutePath
Field Value
Type |
Description |
System.String |
|
m_absoluteUri
Declaration
protected string m_absoluteUri
Field Value
Type |
Description |
System.String |
|
m_host
Declaration
Field Value
Type |
Description |
System.String |
|
m_OriginalUriString
Declaration
protected string m_OriginalUriString
Field Value
Type |
Description |
System.String |
|
m_port
Declaration
Field Value
Type |
Description |
System.Int32 |
|
m_scheme
Declaration
protected string m_scheme
Field Value
Type |
Description |
System.String |
|
Properties
AbsolutePath
Declaration
public string AbsolutePath { get; }
Property Value
Type |
Description |
System.String |
|
AbsoluteUri
Declaration
public string AbsoluteUri { get; }
Property Value
Type |
Description |
System.String |
|
Host
Declaration
public string Host { get; }
Property Value
Type |
Description |
System.String |
|
OriginalString
Declaration
public string OriginalString { get; }
Property Value
Type |
Description |
System.String |
|
Port
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Scheme
Declaration
public string Scheme { get; }
Property Value
Type |
Description |
System.String |
|
Methods
ConstructAbsoluteUri(String)
Declaration
protected void ConstructAbsoluteUri(string uriString)
Parameters
Type |
Name |
Description |
System.String |
uriString |
|
ParseSchemeSpecificPart(String, Int32)
Declaration
protected bool ParseSchemeSpecificPart(string sUri, int iStart)
Parameters
Type |
Name |
Description |
System.String |
sUri |
|
System.Int32 |
iStart |
|
Returns
Type |
Description |
System.Boolean |
|
ParseUriString(String)
Declaration
protected void ParseUriString(string uriString)
Parameters
Type |
Name |
Description |
System.String |
uriString |
|
Split(String, Int32, out String, out String, Boolean)
Declaration
protected void Split(string sUri, int iStart, out string sAuthority, out string sPath, bool bReplaceEmptyPath)
Parameters
Type |
Name |
Description |
System.String |
sUri |
|
System.Int32 |
iStart |
|
System.String |
sAuthority |
|
System.String |
sPath |
|
System.Boolean |
bReplaceEmptyPath |
|