Compartilhar via


SPUrlUtility.AbsolutePathsEqual method

Compara dois objetos de URI absoluto e determina se o esquema, a porta, o host e o caminho são iguais.

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

Syntax

'Declaração
Public Shared Function AbsolutePathsEqual ( _
    uriA As Uri, _
    uriB As Uri _
) As Boolean
'Uso
Dim uriA As Uri
Dim uriB As Uri
Dim returnValue As Boolean

returnValue = SPUrlUtility.AbsolutePathsEqual(uriA, _
    uriB)
public static bool AbsolutePathsEqual(
    Uri uriA,
    Uri uriB
)

Parâmetros

Valor retornado

Type: System.Boolean
True se iguais; FALSO caso contrário

Ver também

Referência

SPUrlUtility class

SPUrlUtility members

Microsoft.SharePoint.Utilities namespace