Uri.Domain | domain property

Applies to Windows and Windows Phone

Gets the domain name, including top-level domain, from a Uniform Resource Identifier (URI).

Syntax


var domain = uri.domain;

Property value

Type: String [JavaScript] | Platform::String [C++]

The domain name.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.winmd

See also

Uri

 

 

Show:
© 2014 Microsoft. All rights reserved.