SPPersistedObjectCollection<T>.Item property (String)
根據指定的名稱集合中取得的持續性的物件。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overridable ReadOnly Default Property Item ( _
name As String _
) As T
Get
'用途
Dim instance As SPPersistedObjectCollection
Dim name As String
Dim value As T
value = instance(name)
public virtual T this[
string name
] { get; }
參數
name
Type: System.String包含物件的名稱的字串。
Property value
Type: T
代表保存的物件類型。
請參閱
參照
SPPersistedObjectCollection<T> class