SPUtility.UrlSubsumes method
SharePoint 2013
A helper method that determines whether a URL subsumes the other and if so, returns an index
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- uriSubsumed
- Type: System.Uri
The URL that is being subsumed.
- uriSubsumer
- Type: System.Uri
The URL that subsumes the other one.
- caseSensitive
- Type: System.Boolean
Return value
Type: System.Int32int - the position at which the subsumer URL stops subsuming the target; -1 if it does not subsume