SPAlternateUrl.Equals method
比較兩個SPAlternateUrl物件,以決定是否要符合其傳入的 Url。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'用途
Dim instance As SPAlternateUrl
Dim obj As Object
Dim returnValue As Boolean
returnValue = instance.Equals(obj)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override bool Equals(
Object obj
)
參數
obj
Type: System.Objectobject表示要比較之目前的備用 URL 的另一個備用 URL。
傳回值
Type: System.Boolean
true如果兩個備用 Url 相符,否則false。