SPAlternateUrlCollection.Item property (Uri)

Gets the alternate request URL object with the specified URI from the collection.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    requestUri As Uri _
) As SPAlternateUrl
    Get
'Usage
Dim instance As SPAlternateUrlCollection
Dim requestUri As Uri
Dim value As SPAlternateUrl

value = instance.Item(requestUri)
public SPAlternateUrl this[
    Uri requestUri
] { get; }

Parameters

  • requestUri
    Type: System.Uri

    System.Uri object that represents the URI.

Property value

Type: Microsoft.SharePoint.Administration.SPAlternateUrl
An SPAlternateUrl object that represents the URL.

See also

Reference

SPAlternateUrlCollection class

SPAlternateUrlCollection members

Item overload

Microsoft.SharePoint.Administration namespace