共用方式為


SPAlternateUrlCollection.Item property (Int32)

取得替代要求 URL 物件在集合中的指定索引處。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    index As Integer _
) As SPAlternateUrl
    Get
'用途
Dim instance As SPAlternateUrlCollection
Dim index As Integer
Dim value As SPAlternateUrl

value = instance(index)
public SPAlternateUrl this[
    int index
] { get; }

參數

  • index
    Type: System.Int32

    32 位元整數,會指定索引。

Property value

Type: Microsoft.SharePoint.Administration.SPAlternateUrl
SPAlternateUrl 物件,表示的 URL。

請參閱

參照

SPAlternateUrlCollection class

SPAlternateUrlCollection members

Item overload

Microsoft.SharePoint.Administration namespace