获取集合中指定索引处的SPUserCustomAction对象。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
userCustomActionId As Guid _
) As SPUserCustomAction
Get
用法
Dim instance As SPUserCustomActionCollection
Dim userCustomActionId As Guid
Dim value As SPUserCustomAction
value = instance(userCustomActionId)
public SPUserCustomAction this[
Guid userCustomActionId
] { get; }
参数
userCustomActionId
类型:System.Guid用户自定义对象的 GUID。
属性值
类型:Microsoft.SharePoint.SPUserCustomAction
SPUserCustomAction
用户自定义操作对象 ID 等于指定 id。如果未找到该对象,则返回一个 null 引用。
另请参阅
引用
SPUserCustomActionCollection 类