共用方式為


SPViewFieldCollection.Item property

取得集合中的 [檢視] 欄位中指定索引處的內部名稱。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    iIndex As Integer _
) As String
    Get
'用途
Dim instance As SPViewFieldCollection
Dim iIndex As Integer
Dim value As String

value = instance(iIndex)
public string this[
    int iIndex
] { get; }

參數

  • iIndex
    Type: System.Int32

    指定的索引為 32 位元整數。

Property value

Type: System.String
字串,包含的內部名稱。

備註

在 C# 中,這個屬性會是SPViewFieldCollection類別的索引子。

請參閱

參照

SPViewFieldCollection class

SPViewFieldCollection members

Microsoft.SharePoint namespace