SPDiagnosticsCollection<T>.Item 属性 (UInt32)

返回具有匹配 Id 属性指定的 SPDiagnosticsItem

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    key As UInteger _
) As T
    Get
用法
Dim instance As SPDiagnosticsCollection
Dim key As UInteger
Dim value As T

value = instance(key)
public T this[
    uint key
] { get; }

参数

属性值

类型:T
具有指定的 Id 或 NULL (如果该项目不存在的对象

另请参阅

引用

SPDiagnosticsCollection<T> 类

SPDiagnosticsCollection<T> 成员

Item 重载

Microsoft.SharePoint.Administration 命名空间