SPUtility.UrlSubsumes method
會判斷是否 URL subsumes 另,若是如此,helper 方法會傳回索引
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function UrlSubsumes ( _
uriSubsumed As Uri, _
uriSubsumer As Uri, _
caseSensitive As Boolean _
) As Integer
'用途
Dim uriSubsumed As Uri
Dim uriSubsumer As Uri
Dim caseSensitive As Boolean
Dim returnValue As Integer
returnValue = SPUtility.UrlSubsumes(uriSubsumed, _
uriSubsumer, caseSensitive)
public static int UrlSubsumes(
Uri uriSubsumed,
Uri uriSubsumer,
bool caseSensitive
)
參數
uriSubsumed
Type: System.Uri要來建立小計 URL。
uriSubsumer
Type: System.UriSubsumes 另一個 URL。
- caseSensitive
Type: System.Boolean
傳回值
Type: System.Int32
int-subsumer URL 停止 subsuming 目標 ; 的位置如果它不會不 subsume-1