Uri.Domain Property
Definition
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.
Gets the domain name component, including top-level domain, from a Uniform Resource Identifier (URI).
public:
property Platform::String ^ Domain { Platform::String ^ get(); };
winrt::hstring Domain();
public string Domain { get; }
var string = uri.domain;
Public ReadOnly Property Domain As String
Property Value
The domain name.
Remarks
If the domain name is subject to Punycode encoding as shown in AbsoluteCanonicalUri, the Domain property shows the decoded value, not the Punycode encoded value.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor