ExtenderControl.IExtenderControl.GetScriptDescriptors(Control) 方法
定义
为控件注册 ScriptDescriptor 对象。Registers the ScriptDescriptor objects for the control. 此方法是私有成员,无法继承。This method is a private member and cannot be inherited.
virtual System::Collections::Generic::IEnumerable<System::Web::UI::ScriptDescriptor ^> ^ System.Web.UI.IExtenderControl.GetScriptDescriptors(System::Web::UI::Control ^ targetControl) = System::Web::UI::IExtenderControl::GetScriptDescriptors;
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor> IExtenderControl.GetScriptDescriptors (System.Web.UI.Control targetControl);
abstract member System.Web.UI.IExtenderControl.GetScriptDescriptors : System.Web.UI.Control -> seq<System.Web.UI.ScriptDescriptor>
override this.System.Web.UI.IExtenderControl.GetScriptDescriptors : System.Web.UI.Control -> seq<System.Web.UI.ScriptDescriptor>
Function GetScriptDescriptors (targetControl As Control) As IEnumerable(Of ScriptDescriptor) Implements IExtenderControl.GetScriptDescriptors
参数
- targetControl
- Control
与扩展程序相关联的服务器控件。The server control that the extender is associated with.
返回
一个实现 IEnumerable 接口并包含 ScriptDescriptor 对象的对象。An object that implements the IEnumerable interface and that contains ScriptDescriptor objects.