Share via


AudienceSiteCollection.Item property (Int32)

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

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As AudienceSite
    Get
'Usage
Dim instance As AudienceSiteCollection
Dim index As Integer
Dim value As AudienceSite

value = instance(index)
public AudienceSite this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    System.Int32. Zero-based index of the item to get.

Property value

Type: Microsoft.Office.Server.Audience.AudienceSite
An instance of the Microsoft.Office.Server.Audience.AudienceSite class with the specified index.

Remarks

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

See also

Reference

AudienceSiteCollection class

AudienceSiteCollection members

Item overload

Microsoft.Office.Server.Audience namespace