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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    iIndex As Integer _
) As SPQuotaTemplate
    Get
'Usage
Dim instance As SPQuotaTemplateCollection
Dim iIndex As Integer
Dim value As SPQuotaTemplate

value = instance(iIndex)
public SPQuotaTemplate this[
    int iIndex
] { get; }

Parameters

  • iIndex
    Type: System.Int32

    A 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

SPQuotaTemplateCollection Members

Item Overload

Microsoft.SharePoint.Administration Namespace