-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
IScriptControl.xml
91 lines (83 loc) · 5.83 KB
/
IScriptControl.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<Type Name="IScriptControl" FullName="System.Web.UI.IScriptControl">
<TypeSignature Language="C#" Value="public interface IScriptControl" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IScriptControl" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.IScriptControl" />
<TypeSignature Language="VB.NET" Value="Public Interface IScriptControl" />
<TypeSignature Language="F#" Value="type IScriptControl = interface" />
<TypeSignature Language="C++ CLI" Value="public interface class IScriptControl" />
<AssemblyInfo>
<AssemblyName>System.Web.Extensions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Docs>
<summary>Defines methods that ASP.NET server controls must implement to define ECMAScript (JavaScript) resources in AJAX-enabled applications.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When implemented by a class, the methods of the <xref:System.Web.UI.IScriptControl> interface provide references to script libraries that define client components and script descriptors that represent instances of client types. Implement this interface in custom server controls that will include script control functionality.
For more information, see [Adding Client Capabilities to a Web Server Control](https://msdn.microsoft.com/library/1d365cbe-1bde-4cef-9fe7-2cd04d3cbdea).
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="GetScriptDescriptors">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor> GetScriptDescriptors ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.Generic.IEnumerable`1<class System.Web.UI.ScriptDescriptor> GetScriptDescriptors() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.IScriptControl.GetScriptDescriptors" />
<MemberSignature Language="VB.NET" Value="Public Function GetScriptDescriptors () As IEnumerable(Of ScriptDescriptor)" />
<MemberSignature Language="F#" Value="abstract member GetScriptDescriptors : unit -> seq<System.Web.UI.ScriptDescriptor>" Usage="iScriptControl.GetScriptDescriptors " />
<MemberSignature Language="C++ CLI" Value="public:
 System::Collections::Generic::IEnumerable<System::Web::UI::ScriptDescriptor ^> ^ GetScriptDescriptors();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.Extensions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor></ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets a collection of script descriptors that represent ECMAScript (JavaScript) client components.</summary>
<returns>An <see cref="T:System.Collections.IEnumerable" /> collection of <see cref="T:System.Web.UI.ScriptDescriptor" /> objects.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Implement this method to define components, behaviors, or client controls from the Microsoft Ajax Library that the server control requires. This method enables you to pass declaratively specified parameters to Microsoft Ajax Library functions.
To use this method, you must also implement the abstract <xref:System.Web.UI.ScriptDescriptor> class.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetScriptReferences">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference> GetScriptReferences ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.Generic.IEnumerable`1<class System.Web.UI.ScriptReference> GetScriptReferences() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.IScriptControl.GetScriptReferences" />
<MemberSignature Language="VB.NET" Value="Public Function GetScriptReferences () As IEnumerable(Of ScriptReference)" />
<MemberSignature Language="F#" Value="abstract member GetScriptReferences : unit -> seq<System.Web.UI.ScriptReference>" Usage="iScriptControl.GetScriptReferences " />
<MemberSignature Language="C++ CLI" Value="public:
 System::Collections::Generic::IEnumerable<System::Web::UI::ScriptReference ^> ^ GetScriptReferences();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.Extensions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference></ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets a collection of <see cref="T:System.Web.UI.ScriptReference" /> objects that define script resources that the control requires.</summary>
<returns>An <see cref="T:System.Collections.IEnumerable" /> collection of <see cref="T:System.Web.UI.ScriptReference" /> objects.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Implement this method to define custom script library dependencies that the server control requires, such as scripts in a Scripts folder of the current Web application, or resources in an assembly. Scripts from the Microsoft Ajax Library do not have to be registered in this manner.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>