AudienceCollection.Item Property (Int32)

Gets the Audience object with the specified index from the collection.

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    Index As Integer _
) As Audience
    Get
'Usage
Dim instance As AudienceCollection
Dim Index As Integer
Dim value As Audience

value = instance(Index)
public Audience this[
    int Index
] { get; }

Parameters

  • Index
    Type: System.Int32
    A 32-bit integer that specifies the index.

Property Value

Type: Microsoft.Office.Server.Audience.Audience
A Microsoft.SharePoint.Portal.Audience.Audience object with the specified index.

Remarks

In Microsoft Visual C#, the Item property is the indexer for the AudienceCollection class.

See Also

Reference

AudienceCollection Class

AudienceCollection Members

Item Overload

Microsoft.Office.Server.Audience Namespace