Condividi tramite


ScriptManagerDesigner.GetServiceReferences Metodo

Definizione

Restituisce un insieme di tutti i controlli ServiceReference definiti nel controllo ScriptManager e nei controlli ScriptManagerProxy di una pagina 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)

Parametri

scriptManager
ScriptManager

Controllo ScriptManager associato alla pagina Web.

proxies
IEnumerable<ScriptManagerProxy>

Insieme di controlli ScriptManagerProxy associato alla pagina Web.

Restituisce

ReadOnlyCollection<ServiceReference>

Insieme di sola lettura di controlli ServiceReference.

Eccezioni

scriptManager è null.

Si applica a

Vedi anche