IsBaseOf Method
Collapse the table of content
Expand the table of content

UriParser.IsBaseOf Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines whether baseUri is a base URI for relativeUri.

Namespace:  System
Assembly:  System (in System.dll)

protected virtual bool IsBaseOf(
	Uri baseUri,
	Uri relativeUri
)

Parameters

baseUri
Type: System.Uri
The base URI.
relativeUri
Type: System.Uri
The URI to test.

Return Value

Type: System.Boolean
true if baseUri is a base URI for relativeUri; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft