This documentation is archived and is not being maintained.
ClientTargetCollection::Add Method
Visual Studio 2010
Adds the specified ClientTarget object to the collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- clientTarget
- Type: System.Web.Configuration::ClientTarget
The ClientTarget to add to the collection.
Before adding a client target to the collection, you must create a ClientTarget object and initialize its Alias and UserAgent properties.
The following code example adds a ClientTarget object to the ClientTargetCollection collection.
For information about how to get the collection, see to the code example in the ClientTargetCollection class overview.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: