UriParser::IsBaseOf Method (Uri^, Uri^)

 

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.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: