ClientTargetSection.ClientTargets Propriedade

Definição

Obtém a coleção de objetos ClientTarget.Gets the collection of ClientTarget objects.

public:
 property System::Web::Configuration::ClientTargetCollection ^ ClientTargets { System::Web::Configuration::ClientTargetCollection ^ get(); };
[System.Configuration.ConfigurationProperty("", IsDefaultCollection=true, IsRequired=true)]
public System.Web.Configuration.ClientTargetCollection ClientTargets { get; }
[<System.Configuration.ConfigurationProperty("", IsDefaultCollection=true, IsRequired=true)>]
member this.ClientTargets : System.Web.Configuration.ClientTargetCollection
Public ReadOnly Property ClientTargets As ClientTargetCollection

Valor da propriedade

ClientTargetCollection

Um ClientTargetCollection que contém os ClientTarget objetos.A ClientTargetCollection that contains the ClientTarget objects.

Atributos

Exemplos

O exemplo de código a seguir mostra como obter a ClientTargets coleção.The following code example shows how to get the ClientTargets collection.


// Get the client target collection.
ClientTargetCollection clientTargets =
  clientTargetSection.ClientTargets;

' Get the client target collection.
Dim clientTargets _
As ClientTargetCollection = _
clientTargetSection.ClientTargets

Comentários

Cada ClientTarget objeto contém duas propriedades que identificam um navegador cliente, também chamado de agente do usuário.Each ClientTarget object contains two properties identifying a client browser, also called the user agent. Uma propriedade é o alias associado ao navegador do cliente que é identificado pela outra propriedade.One property is the alias associated with the client browser that is identified by the other property. ASP.NET usa essas informações para processar controles de servidor em uma página.ASP.NET uses this information to render server controls on a page.

Aplica-se a

Confira também