/
StyleCollection.xml
421 lines (390 loc) · 28.8 KB
/
StyleCollection.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
<Type Name="StyleCollection" FullName="System.Web.UI.WebControls.StyleCollection">
<TypeSignature Language="C#" Value="public class StyleCollection : System.Web.UI.StateManagedCollection" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit StyleCollection extends System.Web.UI.StateManagedCollection" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.WebControls.StyleCollection" />
<TypeSignature Language="VB.NET" Value="Public Class StyleCollection
Inherits StateManagedCollection" />
<TypeSignature Language="F#" Value="type StyleCollection = class
 inherit StateManagedCollection" />
<TypeSignature Language="C++ CLI" Value="public ref class StyleCollection : System::Web::UI::StateManagedCollection" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.UI.StateManagedCollection</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents a collection of <see cref="T:System.Web.UI.WebControls.Style" /> objects.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Web.UI.WebControls.StyleCollection> class to store and manage <xref:System.Web.UI.WebControls.Style> objects for a control. Control developers can use this class to contain a set of styles that apply to different portions of the control.
The collection dynamically increases in size as objects are added. Indexes in this collection are zero-based. Use the <xref:System.Web.UI.StateManagedCollection.Count%2A> property to determine how many objects are in the collection.
Additionally, use the <xref:System.Web.UI.WebControls.StyleCollection> methods and properties to provide the following functionality:
- The <xref:System.Web.UI.WebControls.StyleCollection.Add%2A> method to add a single style to the collection.
- The <xref:System.Web.UI.WebControls.StyleCollection.Insert%2A> method to add a style at a particular index within the collection.
- The <xref:System.Web.UI.WebControls.StyleCollection.Remove%2A> method to remove a style from the collection.
- The <xref:System.Web.UI.WebControls.StyleCollection.RemoveAt%2A> method to remove the style located at a particular index.
- The <xref:System.Web.UI.WebControls.StyleCollection.Contains%2A> method to determine whether a particular style is already in the collection.
- The <xref:System.Web.UI.WebControls.StyleCollection.IndexOf%2A> method to retrieve the index of a style within the collection.
- The <xref:System.Web.UI.StateManagedCollection.Clear%2A> method to remove all the styles from the collection.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.StateManagedCollection" />
<altmember cref="T:System.Web.UI.WebControls.Style" />
<related type="Article" href="https://msdn.microsoft.com/library/782c2db6-fc9b-4243-8df9-a8ffe2f4cc42">ASP.NET Web Server Controls and CSS Styles</related>
</Docs>
<Members>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public int Add (System.Web.UI.WebControls.Style style);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 Add(class System.Web.UI.WebControls.Style style) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.StyleCollection.Add(System.Web.UI.WebControls.Style)" />
<MemberSignature Language="VB.NET" Value="Public Function Add (style As Style) As Integer" />
<MemberSignature Language="F#" Value="member this.Add : System.Web.UI.WebControls.Style -> int" Usage="styleCollection.Add style" />
<MemberSignature Language="C++ CLI" Value="public:
 int Add(System::Web::UI::WebControls::Style ^ style);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="style" Type="System.Web.UI.WebControls.Style" />
</Parameters>
<Docs>
<param name="style">The <see cref="T:System.Web.UI.WebControls.Style" /> object to add to the collection.</param>
<summary>Appends a specified <see cref="T:System.Web.UI.WebControls.Style" /> object to the end of the <see cref="T:System.Web.UI.WebControls.StyleCollection" /> object.</summary>
<returns>The index at which the style was added to the collection.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Web.UI.WebControls.StyleCollection.Add%2A> method to append the specified <xref:System.Web.UI.WebControls.Style> object to the end of the <xref:System.Web.UI.WebControls.StyleCollection> object.
To add a <xref:System.Web.UI.WebControls.Style> object to the collection at a specific index location, use the <xref:System.Web.UI.WebControls.StyleCollection.Insert%2A> method.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.Style" />
<altmember cref="M:System.Web.UI.WebControls.StyleCollection.Insert(System.Int32,System.Web.UI.WebControls.Style)" />
<related type="Article" href="https://msdn.microsoft.com/library/782c2db6-fc9b-4243-8df9-a8ffe2f4cc42">ASP.NET Web Server Controls and CSS Styles</related>
</Docs>
</Member>
<Member MemberName="Contains">
<MemberSignature Language="C#" Value="public bool Contains (System.Web.UI.WebControls.Style style);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Contains(class System.Web.UI.WebControls.Style style) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.StyleCollection.Contains(System.Web.UI.WebControls.Style)" />
<MemberSignature Language="VB.NET" Value="Public Function Contains (style As Style) As Boolean" />
<MemberSignature Language="F#" Value="member this.Contains : System.Web.UI.WebControls.Style -> bool" Usage="styleCollection.Contains style" />
<MemberSignature Language="C++ CLI" Value="public:
 bool Contains(System::Web::UI::WebControls::Style ^ style);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="style" Type="System.Web.UI.WebControls.Style" />
</Parameters>
<Docs>
<param name="style">The <see cref="T:System.Web.UI.WebControls.Style" /> to locate within the collection.</param>
<summary>Determines whether the specified style is contained within the collection.</summary>
<returns>
<see langword="true" /> if the style is in the collection; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.StyleCollection.Contains%2A> method determines equality by using the <xref:System.Object.Equals%2A> method on the <xref:System.Web.UI.WebControls.Style> objects.
]]></format>
</remarks>
<altmember cref="M:System.Web.UI.WebControls.StyleCollection.IndexOf(System.Web.UI.WebControls.Style)" />
<related type="Article" href="https://msdn.microsoft.com/library/782c2db6-fc9b-4243-8df9-a8ffe2f4cc42">ASP.NET Web Server Controls and CSS Styles</related>
</Docs>
</Member>
<Member MemberName="CopyTo">
<MemberSignature Language="C#" Value="public void CopyTo (System.Web.UI.WebControls.Style[] styleArray, int index);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void CopyTo(class System.Web.UI.WebControls.Style[] styleArray, int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.StyleCollection.CopyTo(System.Web.UI.WebControls.Style[],System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Sub CopyTo (styleArray As Style(), index As Integer)" />
<MemberSignature Language="F#" Value="override this.CopyTo : System.Web.UI.WebControls.Style[] * int -> unit" Usage="styleCollection.CopyTo (styleArray, index)" />
<MemberSignature Language="C++ CLI" Value="public:
 void CopyTo(cli::array <System::Web::UI::WebControls::Style ^> ^ styleArray, int index);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="styleArray" Type="System.Web.UI.WebControls.Style[]" />
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="styleArray">The <see cref="T:System.Array" /> that is the destination of the copied styles. The <see cref="T:System.Array" /> must have zero-based indexing.</param>
<param name="index">The zero-based index in <paramref name="styleArray" /> at which copying begins.</param>
<summary>Copies the elements of the <see cref="T:System.Web.UI.WebControls.StyleCollection" /> to a one-dimensional <see cref="T:System.Web.UI.WebControls.Style" /> array, starting at the specified index of the target array.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The style elements are copied to the <xref:System.Array> object in the same order in which they are indexed within the <xref:System.Web.UI.WebControls.StyleCollection> object.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/782c2db6-fc9b-4243-8df9-a8ffe2f4cc42">ASP.NET Web Server Controls and CSS Styles</related>
</Docs>
</Member>
<Member MemberName="CreateKnownType">
<MemberSignature Language="C#" Value="protected override object CreateKnownType (int index);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance object CreateKnownType(int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.StyleCollection.CreateKnownType(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function CreateKnownType (index As Integer) As Object" />
<MemberSignature Language="F#" Value="override this.CreateKnownType : int -> obj" Usage="styleCollection.CreateKnownType index" />
<MemberSignature Language="C++ CLI" Value="protected:
 override System::Object ^ CreateKnownType(int index);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">The index, from the ordered list of types returned by <see cref="M:System.Web.UI.WebControls.StyleCollection.GetKnownTypes" />, of the type of the <see cref="T:System.Web.UI.IStateManager" /> object to create. Because the <see cref="M:System.Web.UI.WebControls.StyleCollection.GetKnownTypes" /> method of <see cref="T:System.Web.UI.WebControls.StyleCollection" /> returns a list with only one type, the input <paramref name="index" /> is ignored.</param>
<summary>Creates an instance of the <see cref="T:System.Web.UI.WebControls.Style" /> class, based on the single element collection returned by the <see cref="M:System.Web.UI.WebControls.StyleCollection.GetKnownTypes" /> method.</summary>
<returns>An instance of the <see cref="T:System.Web.UI.WebControls.Style" /> class.</returns>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/782c2db6-fc9b-4243-8df9-a8ffe2f4cc42">ASP.NET Web Server Controls and CSS Styles</related>
</Docs>
</Member>
<Member MemberName="GetKnownTypes">
<MemberSignature Language="C#" Value="protected override Type[] GetKnownTypes ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class System.Type[] GetKnownTypes() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.StyleCollection.GetKnownTypes" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function GetKnownTypes () As Type()" />
<MemberSignature Language="F#" Value="override this.GetKnownTypes : unit -> Type[]" Usage="styleCollection.GetKnownTypes " />
<MemberSignature Language="C++ CLI" Value="protected:
 override cli::array <Type ^> ^ GetKnownTypes();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Type[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets an array of the <see cref="T:System.Web.UI.IStateManager" /> types that the <see cref="T:System.Web.UI.WebControls.StyleCollection" /> can contain.</summary>
<returns>An array containing one <see cref="T:System.Type" /> object for the <see cref="T:System.Web.UI.WebControls.Style" /> class, which indicates that the <see cref="T:System.Web.UI.WebControls.StyleCollection" /> can contain <see cref="T:System.Web.UI.WebControls.Style" /> objects.</returns>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/782c2db6-fc9b-4243-8df9-a8ffe2f4cc42">ASP.NET Web Server Controls and CSS Styles</related>
</Docs>
</Member>
<Member MemberName="IndexOf">
<MemberSignature Language="C#" Value="public int IndexOf (System.Web.UI.WebControls.Style style);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 IndexOf(class System.Web.UI.WebControls.Style style) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.StyleCollection.IndexOf(System.Web.UI.WebControls.Style)" />
<MemberSignature Language="VB.NET" Value="Public Function IndexOf (style As Style) As Integer" />
<MemberSignature Language="F#" Value="member this.IndexOf : System.Web.UI.WebControls.Style -> int" Usage="styleCollection.IndexOf style" />
<MemberSignature Language="C++ CLI" Value="public:
 int IndexOf(System::Web::UI::WebControls::Style ^ style);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="style" Type="System.Web.UI.WebControls.Style" />
</Parameters>
<Docs>
<param name="style">The <see cref="T:System.Web.UI.WebControls.Style" /> to locate within the collection.</param>
<summary>Returns the index of the specified <see cref="T:System.Web.UI.WebControls.Style" /> object within the collection.</summary>
<returns>The zero-based index of the first occurrence of <paramref name="style" /> within the collection; otherwise, -1 if the style is not in the collection.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.StyleCollection.Contains%2A> method determines equality by using the <xref:System.Object.Equals%2A> method on the <xref:System.Web.UI.WebControls.Style> objects.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/782c2db6-fc9b-4243-8df9-a8ffe2f4cc42">ASP.NET Web Server Controls and CSS Styles</related>
</Docs>
</Member>
<Member MemberName="Insert">
<MemberSignature Language="C#" Value="public void Insert (int index, System.Web.UI.WebControls.Style style);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Insert(int32 index, class System.Web.UI.WebControls.Style style) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.StyleCollection.Insert(System.Int32,System.Web.UI.WebControls.Style)" />
<MemberSignature Language="VB.NET" Value="Public Sub Insert (index As Integer, style As Style)" />
<MemberSignature Language="F#" Value="member this.Insert : int * System.Web.UI.WebControls.Style -> unit" Usage="styleCollection.Insert (index, style)" />
<MemberSignature Language="C++ CLI" Value="public:
 void Insert(int index, System::Web::UI::WebControls::Style ^ style);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="style" Type="System.Web.UI.WebControls.Style" />
</Parameters>
<Docs>
<param name="index">The zero-based index location at which to insert the <see cref="T:System.Web.UI.WebControls.Style" /> object.</param>
<param name="style">The <see cref="T:System.Web.UI.WebControls.Style" /> object to insert into the collection.</param>
<summary>Inserts a specified <see cref="T:System.Web.UI.WebControls.Style" /> object into the <see cref="T:System.Web.UI.WebControls.StyleCollection" /> at the specified index location.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Web.UI.WebControls.StyleCollection.Insert%2A> method to insert a specified <xref:System.Web.UI.WebControls.Style> object into the <xref:System.Web.UI.WebControls.StyleCollection> object at a specified index location.
To add a <xref:System.Web.UI.WebControls.Style> object at the end of the <xref:System.Web.UI.WebControls.StyleCollection> object, use the <xref:System.Web.UI.WebControls.StyleCollection.Add%2A> method.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.Style" />
<altmember cref="M:System.Web.UI.WebControls.StyleCollection.Add(System.Web.UI.WebControls.Style)" />
<related type="Article" href="https://msdn.microsoft.com/library/782c2db6-fc9b-4243-8df9-a8ffe2f4cc42">ASP.NET Web Server Controls and CSS Styles</related>
</Docs>
</Member>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public System.Web.UI.WebControls.Style this[int i] { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Web.UI.WebControls.Style Item(int32)" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.StyleCollection.Item(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Default Public Property Item(i As Integer) As Style" />
<MemberSignature Language="F#" Value="member this.Item(int) : System.Web.UI.WebControls.Style with get, set" Usage="System.Web.UI.WebControls.StyleCollection.Item" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Web::UI::WebControls::Style ^ default[int] { System::Web::UI::WebControls::Style ^ get(int i); void set(int i, System::Web::UI::WebControls::Style ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Style</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="i" Type="System.Int32" />
</Parameters>
<Docs>
<param name="i">The zero-based index location of the <see cref="T:System.Web.UI.WebControls.Style" /> object in the <see cref="T:System.Web.UI.WebControls.StyleCollection" />.</param>
<summary>Gets the <see cref="T:System.Web.UI.WebControls.Style" /> object at the specified index location in the <see cref="T:System.Web.UI.WebControls.StyleCollection" /> object.</summary>
<value>A <see cref="T:System.Web.UI.WebControls.Style" /> object at the specified index in the <see cref="T:System.Web.UI.WebControls.StyleCollection" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use this indexer to access a <xref:System.Web.UI.WebControls.Style> object from the <xref:System.Web.UI.WebControls.StyleCollection> at the specified index, using simple array notation. The indexer allows you to modify or replace a <xref:System.Web.UI.WebControls.Style> object in the collection directly.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.Style" />
<related type="Article" href="https://msdn.microsoft.com/library/782c2db6-fc9b-4243-8df9-a8ffe2f4cc42">ASP.NET Web Server Controls and CSS Styles</related>
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public void Remove (System.Web.UI.WebControls.Style style);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Remove(class System.Web.UI.WebControls.Style style) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.StyleCollection.Remove(System.Web.UI.WebControls.Style)" />
<MemberSignature Language="VB.NET" Value="Public Sub Remove (style As Style)" />
<MemberSignature Language="F#" Value="member this.Remove : System.Web.UI.WebControls.Style -> unit" Usage="styleCollection.Remove style" />
<MemberSignature Language="C++ CLI" Value="public:
 void Remove(System::Web::UI::WebControls::Style ^ style);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="style" Type="System.Web.UI.WebControls.Style" />
</Parameters>
<Docs>
<param name="style">The <see cref="T:System.Web.UI.WebControls.Style" /> object to remove from the collection.</param>
<summary>Removes the specified <see cref="T:System.Web.UI.WebControls.Style" /> object from the <see cref="T:System.Web.UI.WebControls.StyleCollection" /> object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Web.UI.WebControls.StyleCollection.Remove%2A> method to remove the specified <xref:System.Web.UI.WebControls.Style> object from the <xref:System.Web.UI.WebControls.StyleCollection> object. All items that follow the <xref:System.Web.UI.WebControls.Style> object are then moved up to fill in the vacant position. The indexes of the moved items are also updated.
To remove a <xref:System.Web.UI.WebControls.Style> object from the <xref:System.Web.UI.WebControls.StyleCollection> object at a specific index location, use the <xref:System.Web.UI.WebControls.StyleCollection.RemoveAt%2A> method. You can also remove every <xref:System.Web.UI.WebControls.Style> object in the collection using the <xref:System.Web.UI.StateManagedCollection.Clear%2A> method.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.Style" />
<altmember cref="M:System.Web.UI.WebControls.StyleCollection.RemoveAt(System.Int32)" />
<altmember cref="M:System.Web.UI.StateManagedCollection.Clear" />
<related type="Article" href="https://msdn.microsoft.com/library/782c2db6-fc9b-4243-8df9-a8ffe2f4cc42">ASP.NET Web Server Controls and CSS Styles</related>
</Docs>
</Member>
<Member MemberName="RemoveAt">
<MemberSignature Language="C#" Value="public void RemoveAt (int index);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveAt(int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.StyleCollection.RemoveAt(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Sub RemoveAt (index As Integer)" />
<MemberSignature Language="F#" Value="member this.RemoveAt : int -> unit" Usage="styleCollection.RemoveAt index" />
<MemberSignature Language="C++ CLI" Value="public:
 void RemoveAt(int index);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">The zero-based index location of the <see cref="T:System.Web.UI.WebControls.Style" /> object to remove.</param>
<summary>Removes the <see cref="T:System.Web.UI.WebControls.Style" /> object at the specified index location from the <see cref="T:System.Web.UI.WebControls.StyleCollection" /> object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Web.UI.WebControls.StyleCollection.RemoveAt%2A> method to remove the <xref:System.Web.UI.WebControls.Style> object at a specified index location from the <xref:System.Web.UI.WebControls.StyleCollection> object. All items that follow that <xref:System.Web.UI.WebControls.Style> object are then moved up to fill in the vacant position. The indexes of the moved items are also updated.
To remove a specific <xref:System.Web.UI.WebControls.Style> object from the <xref:System.Web.UI.WebControls.StyleCollection> object, use the <xref:System.Web.UI.WebControls.StyleCollection.Remove%2A> method. You can also remove every <xref:System.Web.UI.WebControls.Style> object in the collection using the <xref:System.Web.UI.StateManagedCollection.Clear%2A> method.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.Style" />
<altmember cref="M:System.Web.UI.WebControls.StyleCollection.Remove(System.Web.UI.WebControls.Style)" />
<altmember cref="M:System.Web.UI.StateManagedCollection.Clear" />
<related type="Article" href="https://msdn.microsoft.com/library/782c2db6-fc9b-4243-8df9-a8ffe2f4cc42">ASP.NET Web Server Controls and CSS Styles</related>
</Docs>
</Member>
<Member MemberName="SetDirtyObject">
<MemberSignature Language="C#" Value="protected override void SetDirtyObject (object o);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void SetDirtyObject(object o) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.StyleCollection.SetDirtyObject(System.Object)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub SetDirtyObject (o As Object)" />
<MemberSignature Language="F#" Value="override this.SetDirtyObject : obj -> unit" Usage="styleCollection.SetDirtyObject o" />
<MemberSignature Language="C++ CLI" Value="protected:
 override void SetDirtyObject(System::Object ^ o);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="o" Type="System.Object" />
</Parameters>
<Docs>
<param name="o">The <see cref="T:System.Web.UI.WebControls.Style" /> object that should serialize itself completely.</param>
<summary>Instructs the input <see cref="T:System.Web.UI.WebControls.Style" /> object contained in the collection to record its entire state to view state, rather than recording only change information.</summary>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/782c2db6-fc9b-4243-8df9-a8ffe2f4cc42">ASP.NET Web Server Controls and CSS Styles</related>
</Docs>
</Member>
</Members>
</Type>