AudienceCollection.Item Property (Guid)
Gets the Audience object with the specified globally unique identifier (GUID) from the collection.
Namespace: Microsoft.Office.Server.Audience
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
'Declaration
Public ReadOnly Default Property Item ( _
AudienceID As Guid _
) As Audience
Get
'Usage
Dim instance As AudienceCollection
Dim AudienceID As Guid
Dim value As Audience
value = instance(AudienceID)
public Audience this[
Guid AudienceID
] { get; }
AudienceID
Type: System.GuidA GUID that specifies the required Audience object.
Type: Microsoft.Office.Server.Audience.Audience
An object with the specified GUID.
In Microsoft Visual C#, the Item property is the indexer for the AudienceCollection class.