UriParser Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses a new URI scheme. This is an abstract class.
public ref class UriParser abstract
public abstract class UriParser
type UriParser = class
Public MustInherit Class UriParser
- Inheritance
-
UriParser
- Derived
The UriParser class enables you to create parsers for new URI schemes. You can write these parsers in their entirety, or the parsers can be derived from well-known schemes (HTTP, FTP, and other schemes based on network protocols). If you want to create a completely new parser, inherit from GenericUriParser. If you want to create a parser that extends a well-known URI scheme, inherit from FtpStyleUriParser, HttpStyleUriParser, FileStyleUriParser, GopherStyleUriParser, or LdapStyleUriParser.
Microsoft strongly recommends that you use a parser shipped with .NET. Building your own parser increases the complexity of your application, and will not perform as well as the shipped parsers.
Uri |
Constructs a default URI parser. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Gets the components from a URI. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Initialize |
Initialize the state of the parser and validate the URI. |
Is |
Determines whether |
Is |
Indicates whether the parser for a scheme is registered. |
Is |
Indicates whether a URI is well-formed. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
On |
|
On |
Invoked by the Framework when a UriParser method is registered. |
Register(Uri |
Associates a scheme and port number with a UriParser. |
Resolve(Uri, Uri, Uri |
Called by Uri constructors and TryCreate to resolve a relative URI. |
To |
Returns a string that represents the current object. (Inherited from Object) |
製品 | バージョン |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。