SPQuotaTemplateCollection.Item property (Int32)
Gets the quota template object at the specified index in the collection. In C#, this property is an indexer for the SPQuotaTemplateCollection class.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
iIndex As Integer _
) As SPQuotaTemplate
Get
'Usage
Dim instance As SPQuotaTemplateCollection
Dim iIndex As Integer
Dim value As SPQuotaTemplate
value = instance.Item(iIndex)
public SPQuotaTemplate this[
int iIndex
] { get; }
Parameters
iIndex
Type: System.Int32A 32-bit integer that specifies the index.
Property value
Type: Microsoft.SharePoint.Administration.SPQuotaTemplate
An SPQuotaTemplate object that represents the quota template.
Remarks
The Item property throws an ArgumentOutOfRangeException if the specified index is outside the valid range of indices for the collection.
See also
Reference
SPQuotaTemplateCollection class