共用方式為


SPPersistedObjectCollection<T>.Item property (Guid)

根據指定的 GUID 集合中取得的持續性的物件。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    objId As Guid _
) As T
    Get
'用途
Dim instance As SPPersistedObjectCollection
Dim objId As Guid
Dim value As T

value = instance(objId)
public T this[
    Guid objId
] { get; }

參數

  • objId
    Type: System.Guid

    識別保存的物件System.Guid物件。

Property value

Type: T
代表保存的物件類型。

請參閱

參照

SPPersistedObjectCollection<T> class

SPPersistedObjectCollection<T> members

Item overload

Microsoft.SharePoint.Administration namespace