从集合中获取具有指定键事件数据。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Default Property Item ( _
key As String _
) As Object
Get
Set
用法
Dim instance As SPItemEventDataCollection
Dim key As String
Dim value As Object
value = instance(key)
instance(key) = value
public Object this[
string key
] { get; set; }
参数
key
类型:System.String一个字符串,包含的键。
属性值
类型:System.Object
代表事件数据object 。