Item(String) Property

The Item property of the AudienceCollection class gets the Audience object with the specified name from the collection.


this A string that specifies the name of the Audience object.

Property Value

A Microsoft.SharePoint.Portal.Audience.Audience object that represents the Audience from the AudienceCollection with the specified name.


Exception Type Condition
AudienceArgumentException The specified string does not match the name of an audience in this collection.


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


Platforms: Microsoft Windows Server 2003

Security: Code Access Security