public class IPHost : Uri
Public Class IPHost
Inherits Uri
type IPHost =
class
inherit Uri
end
IPHost(Int32) | 从端口号创建IPv4的Any地址。 |
IPHost(String) |
IP解析映射
支持端口,ip,域名等。具体格式如下:
|
IPHost(IPAddress, Int32) | 从IPAddress |
AbsolutePath | Gets the absolute path of the URI. (继承自 Uri。) |
AbsoluteUri | Gets the absolute URI. (继承自 Uri。) |
Authority | Gets the Domain Name System (DNS) host name or IP address and the port number for a server. (继承自 Uri。) |
DnsSafeHost | Gets a host name that, after being unescaped if necessary, is safe to use for DNS resolution. (继承自 Uri。) |
EndPoint | 获取终结点。 |
Fragment | Gets the escaped URI fragment. (继承自 Uri。) |
Host | Gets the host component of this instance. (继承自 Uri。) |
HostNameType | Gets the type of the host name specified in the URI. (继承自 Uri。) |
IdnHost | Gets the RFC 3490 compliant International Domain Name of the host, using Punycode as appropriate. This string, after being unescaped if necessary, is safe to use for DNS resolution. (继承自 Uri。) |
IsAbsoluteUri | Gets a value that indicates whether the Uri instance is absolute. (继承自 Uri。) |
IsDefaultPort | Gets a value that indicates whether the port value of the URI is the default for this scheme. (继承自 Uri。) |
IsFile | Gets a value that indicates whether the specified Uri is a file URI. (继承自 Uri。) |
IsLoopback | Gets a value that indicates whether the specified Uri references the local host. (继承自 Uri。) |
IsUnc | Gets a value that indicates whether the specified Uri is a universal naming convention (UNC) path. (继承自 Uri。) |
LocalPath | Gets a local operating-system representation of a file name. (继承自 Uri。) |
OriginalString | Gets the original URI string that was passed to the Uri constructor. (继承自 Uri。) |
PathAndQuery | Gets the AbsolutePath and Query properties separated by a question mark (?). (继承自 Uri。) |
Port | 端口号 |
Query | Gets any query information included in the specified URI. (继承自 Uri。) |
Scheme | Gets the scheme name for this URI. (继承自 Uri。) |
Segments | Gets an array containing the path segments that make up the specified URI. (继承自 Uri。) |
UserEscaped | Gets a value that indicates whether the URI string was completely escaped before the Uri instance was created. (继承自 Uri。) |
UserInfo | Gets the user name, password, or other user-specific information associated with the specified URI. (继承自 Uri。) |
Canonicalize | Converts the internally stored URI to canonical form. (继承自 Uri。) 已过时。 |
CheckSecurity | Calling this method has no effect. (继承自 Uri。) 已过时。 |
Equals | Compares two Uri instances for equality. (继承自 Uri。) |
Escape | Converts any unsafe or reserved characters in the path component to their hexadecimal character representations. (继承自 Uri。) 已过时。 |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
GetComponents | Gets the specified components of the current instance using the specified escaping for special characters. (继承自 Uri。) |
GetHashCode | Gets the hash code for the URI. (继承自 Uri。) |
GetLeftPart | Gets the specified portion of a Uri instance. (继承自 Uri。) |
GetObjectData | Returns the data needed to serialize the current instance. (继承自 Uri。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
IsBadFileSystemCharacter | Indicates whether a character is invalid in a file system name. (继承自 Uri。) 已过时。 |
IsBaseOf | Determines whether the current Uri instance is a base of the specified Uri instance. (继承自 Uri。) |
IsReservedCharacter | Determines whether the specified character is a reserved character. (继承自 Uri。) 已过时。 |
IsWellFormedOriginalString | Indicates whether the string used to construct this Uri was well-formed and does not require further escaping. (继承自 Uri。) |
MakeRelative | Determines the difference between two Uri instances. (继承自 Uri。) 已过时。 |
MakeRelativeUri | Determines the difference between two Uri instances. (继承自 Uri。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
Parse | Parses the URI of the current instance to ensure it contains all the parts required for a valid URI. (继承自 Uri。) 已过时。 |
ParseIPHosts | 解析一个组的地址。 |
ToString | Gets a canonical string representation for the specified Uri instance. (继承自 Uri。) |
Unescape | Converts the specified string by replacing any escape sequences with their unescaped representation. (继承自 Uri。) 已过时。 |
(Int32 to IPHost) | 由端口向IPHost转换 |
(String to IPHost) | 由字符串向IPHost转换 |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |
ISerializableGetObjectData | Returns the data needed to serialize the current instance. (继承自 Uri。) |