SPUtility.FastUrlSubsumes method (Uri, Uri)

SharePoint 2013

Accepts two server- or service-relative URLs and determines if the subsumer URL is equivalent to the subsumed URL or if it refers to a directory that contains it.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static bool FastUrlSubsumes(
	Uri uriSubsumed,
	Uri uriSubsumer
)

Parameters

uriSubsumed
Type: System.Uri

The URL that is being subsumed.

uriSubsumer
Type: System.Uri

The URL that subsumes the other one.

Return value

Type: System.Boolean
true - the 2nd URL subsumes the 1st; false - otherwise
Show: