de la propiedad AudienceManager.AudienceLeftContentList
Obtiene un objeto ArrayList de objetos AudienceLeftContent .
Espacio de nombres: Microsoft.Office.Server.Audience
Ensamblado: Microsoft.Office.Server.UserProfiles (en Microsoft.Office.Server.UserProfiles.dll)
Sintaxis
'Declaración
Public ReadOnly Property AudienceLeftContentList As ArrayList
Get
'Uso
Dim instance As AudienceManager
Dim value As ArrayList
value = instance.AudienceLeftContentList
public ArrayList AudienceLeftContentList { get; }
Valor de propiedad
Tipo: System.Collections.ArrayList
objeto System.Collections.ArrayList que representa una lista de objetos AudienceLeftContent asociados con la audiencia actual.
Comentarios
La propiedad AudienceLeftContentList es de sólo lectura.
Ejemplos
En el ejemplo de código siguiente se muestra cómo utilizar la propiedad AudienceLeftContentList para recuperar y elementos de lista operando asociados a una audiencia.
AudienceManager AudMgr = new AudienceManager();
ArrayList LeftContentList;
LeftContentList = AudMgr.AudienceLeftContentList;
for (int list=0; list < LeftContentList.Count; list++)
{
System.Console.WriteLine("{0}", list);
System.Console.WriteLine(" Name" + ((AudienceLeftContent)LeftContentList[list]).Name);
System.Console.WriteLine(" DisplayName" + ((AudienceLeftContent)LeftContentList[list]).DisplayName);
System.Console.WriteLine(" DataType" + ((AudienceLeftContent)LeftContentList[list]).DataType);
System.Console.WriteLine(" DataLength" + ((AudienceLeftContent)LeftContentList[list]).DataLength);
System.Console.WriteLine(" bProperty" + ((AudienceLeftContent)LeftContentList[list]).bProperty);
}
System.Console.WriteLine("End");
Dim AudMgr As New AudienceManager()
Dim LeftContentList As ArrayList
LeftContentList = AudMgr.AudienceLeftContentList
For list As Integer = 0 To LeftContentList.Count - 1
System.Console.WriteLine("{0}", list)
System.Console.WriteLine(" Name" & (CType(LeftContentList(list), AudienceLeftContent)).Name)
System.Console.WriteLine(" DisplayName" & (CType(LeftContentList(list), AudienceLeftContent)).DisplayName)
System.Console.WriteLine(" DataType" & (CType(LeftContentList(list), AudienceLeftContent)).DataType)
System.Console.WriteLine(" DataLength" & (CType(LeftContentList(list), AudienceLeftContent)).DataLength)
System.Console.WriteLine(" bProperty" & (CType(LeftContentList(list), AudienceLeftContent)).bProperty)
Next list
System.Console.WriteLine("End")