ScriptManagerDesigner.GetServiceReferences Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne une collection de tous les ServiceReference contrôles définis dans le contrôle et ScriptManager les contrôles d’une ScriptManagerProxy page Web.
public:
static System::Collections::ObjectModel::ReadOnlyCollection<System::Web::UI::ServiceReference ^> ^ GetServiceReferences(System::Web::UI::ScriptManager ^ scriptManager, System::Collections::Generic::IEnumerable<System::Web::UI::ScriptManagerProxy ^> ^ proxies);
public static System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.ServiceReference> GetServiceReferences(System.Web.UI.ScriptManager scriptManager, System.Collections.Generic.IEnumerable<System.Web.UI.ScriptManagerProxy> proxies);
static member GetServiceReferences : System.Web.UI.ScriptManager * seq<System.Web.UI.ScriptManagerProxy> -> System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.ServiceReference>
Public Shared Function GetServiceReferences (scriptManager As ScriptManager, proxies As IEnumerable(Of ScriptManagerProxy)) As ReadOnlyCollection(Of ServiceReference)
Paramètres
- scriptManager
- ScriptManager
Contrôle ScriptManager associé à la page Web.
- proxies
- IEnumerable<ScriptManagerProxy>
Collection de ScriptManagerProxy contrôles associés à la page Web.
Retours
Collection de contrôles en ServiceReference lecture seule.
Exceptions
scriptManager a la valeur null.