次の方法で共有


SPUtility.FastUrlSubsumes method (Uri, Uri)

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)

Syntax

'Declaration
Public Shared Function FastUrlSubsumes ( _
    uriSubsumed As Uri, _
    uriSubsumer As Uri _
) As Boolean
'Usage
Dim uriSubsumed As Uri
Dim uriSubsumer As Uri
Dim returnValue As Boolean

returnValue = SPUtility.FastUrlSubsumes(uriSubsumed, _
    uriSubsumer)
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

See also

Reference

SPUtility class

SPUtility members

FastUrlSubsumes overload

Microsoft.SharePoint.Utilities namespace