共用方式為


SPUserCodePropertyCollection.Item property (Int32)

取得或設定集合中指定之索引處的屬性物件。

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

Syntax

'宣告
Public Default Property Item ( _
    index As Integer _
) As SPUserCodeProperty
    Get
    Set
'用途
Dim instance As SPUserCodePropertyCollection
Dim index As Integer
Dim value As SPUserCodeProperty

value = instance(index)

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

參數

  • index
    Type: System.Int32

    屬性物件之以零起始的索引。

Property value

Type: Microsoft.SharePoint.WebPartPages.SPUserCodeProperty
在指定的索引集合的屬性物件。

請參閱

參照

SPUserCodePropertyCollection class

SPUserCodePropertyCollection members

Item overload

Microsoft.SharePoint.WebPartPages namespace