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)
Syntax
'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; }
Parameters
AudienceID
Type: System.GuidA GUID that specifies the required Audience object.
Property Value
Type: Microsoft.Office.Server.Audience.Audience
An object with the specified GUID.
Remarks
In Microsoft Visual C#, the Item property is the indexer for the AudienceCollection class.