SPUserCodePropertyCollection.Item 属性 (Int32)
获取或设置集合中指定索引处的 property 对象。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:System.Int32属性对象的从零开始索引。
属性值
类型:Microsoft.SharePoint.WebPartPages.SPUserCodeProperty
Property 对象的集合中指定索引处。
另请参阅
引用
SPUserCodePropertyCollection 类