[This is preliminary documentation and is subject to change.]
The OCUri type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| OCUri |
Default constructor
|
Methods
| Name | Description | |
|---|---|---|
| Canonicalize | Obsolete. Converts the internally stored URI to canonical form. (Inherited from Uri.) | |
| CheckSecurity | Obsolete. Calling this method has no effect. (Inherited from Uri.) | |
| Equals | Compares two Uri instances for equality. (Inherited from Uri.) | |
| Escape | Obsolete. Converts any unsafe or reserved characters in the path component to their hexadecimal character representations. (Inherited from Uri.) | |
| EscapeString |
Converts a string to its escaped representation..
| |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetComponents | Gets the specified components of the current instance using the specified escaping for special characters. (Inherited from Uri.) | |
| GetHashCode | Returns the hash code for the URI. (Inherited from Uri.) | |
| GetHtml |
Returns an html screen back for a page.
| |
| GetLeftPart | Returns the specified portion of a Uri instance. (Inherited from Uri.) | |
| GetObjectData | Returns the data needed to serialize the current instance. (Inherited from Uri.) | |
| GetReferrerAbsoluteUrl | Overloaded. | |
| GetReferrerLocalPath |
Gets the UrlReferrer local path
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsBadFileSystemCharacter | Obsolete. Returns a Boolean value that indicates whether a character is invalid in a file system name. (Inherited from Uri.) | |
| IsBaseOf | Determines whether the current Uri instance is a base of the specified Uri instance. (Inherited from Uri.) | |
| IsReservedCharacter | Obsolete. Returns a Boolean that indicates whether the specified character is a reserved character. (Inherited from Uri.) | |
| IsWellFormedOriginalString | Indicates whether the string used to construct this Uri was well-formed. (Inherited from Uri.) | |
| MakeRelative | Obsolete. Determines the difference between two Uri instances. (Inherited from Uri.) | |
| MakeRelativeUri | Determines the difference between two Uri instances. (Inherited from Uri.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Parse | Obsolete. Parses the URI of the current instance to ensure it contains all the parts required for a valid URI. (Inherited from Uri.) | |
| ToString | Returns a canonical string representation for the specified Uri instance. (Inherited from Uri.) | |
| Unescape | Obsolete. Converts the specified string by replacing any escape sequences with their unescaped representation. (Inherited from Uri.) |
Properties
| Name | Description | |
|---|---|---|
| AbsolutePath | Gets the absolute path of the URI. (Inherited from Uri.) | |
| AbsoluteUri | Gets the absolute URI. (Inherited from Uri.) | |
| Authority | Gets the Domain Name System (DNS) host name or IP address and the port number for a server. (Inherited from Uri.) | |
| DnsSafeHost | Gets an unescaped host name that is safe to use for DNS resolution. (Inherited from Uri.) | |
| Fragment | Gets the escaped fragment. (Inherited from Uri.) | |
| Host | Gets the host component of this instance. (Inherited from Uri.) | |
| HostNameType | Returns the type of the host name specified in the URI. (Inherited from Uri.) | |
| IsAbsoluteUri | Gets a Boolean value that indicates whether the Uri instance is absolute. (Inherited from Uri.) | |
| IsDefaultPort | Gets a value indicating whether the port value of the URI is the default for this scheme. (Inherited from Uri.) | |
| IsFile | Gets a value indicating whether the specified Uri is a file URI. (Inherited from Uri.) | |
| IsLoopback | Gets a Boolean value indicating whether the specified Uri references the local host. (Inherited from Uri.) | |
| IsUnc | Gets a Boolean value indicating whether the specified Uri is a universal naming convention (UNC) path. (Inherited from Uri.) | |
| LocalPath | Gets a local operating-system representation of a file name. (Inherited from Uri.) | |
| OriginalString | Gets the original URI string that was passed to the Uri constructor. (Inherited from Uri.) | |
| PathAndQuery | Gets the AbsolutePath and Query properties separated by a question mark (?). (Inherited from Uri.) | |
| Port | Gets the port number of this URI. (Inherited from Uri.) | |
| Query | Gets any query information included in the specified URI. (Inherited from Uri.) | |
| Scheme | Gets the scheme name for this URI. (Inherited from Uri.) | |
| Segments | Gets an array containing the path segments that make up the specified URI. (Inherited from Uri.) | |
| UserEscaped | Indicates that the URI string was completely escaped before the Uri instance was created. (Inherited from Uri.) | |
| UserInfo | Gets the user name, password, or other user-specific information associated with the specified URI. (Inherited from Uri.) |
