SPQuotaTemplateCollection.Item property (Int32)
取得集合中的指定索引處的配額範本物件。在 C# 中,這個屬性會是SPQuotaTemplateCollection類別的索引器。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Default Property Item ( _
iIndex As Integer _
) As SPQuotaTemplate
Get
'用途
Dim instance As SPQuotaTemplateCollection
Dim iIndex As Integer
Dim value As SPQuotaTemplate
value = instance(iIndex)
public SPQuotaTemplate this[
int iIndex
] { get; }
參數
iIndex
Type: System.Int3232 位元整數,會指定索引。
Property value
Type: Microsoft.SharePoint.Administration.SPQuotaTemplate
SPQuotaTemplate 物件代表的配額範本。
備註
如果指定的索引超出集合的索引的有效範圍,則Item屬性會擲回ArgumentOutOfRangeException 。
請參閱
參照
SPQuotaTemplateCollection class