Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / RepeaterItemCollection.cs / 1 / RepeaterItemCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class RepeaterItemCollection : ICollection { private ArrayList items; ///Encapsulates the collection of ///objects within a control. /// Initializes a new instance of /// the public RepeaterItemCollection(ArrayList items) { this.items = items; } ///class with the specified items. /// /// public int Count { get { return items.Count; } } ///Gets the item count of the collection. ////// public bool IsReadOnly { get { return false; } } ///Gets a value indicating whether the collection is read-only. ////// public bool IsSynchronized { get { return false; } } ///Gets a value indicating whether access to the collection is synchronized /// (thread-safe). ////// public object SyncRoot { get { return this; } } ///Gets the object that can be used to synchronize access to the collection. In /// this case, it is the collection itself. ////// public RepeaterItem this[int index] { get { return(RepeaterItem)items[index]; } } ///Gets a ///referenced by the specified ordinal index value in /// the collection. /// public void CopyTo(Array array, int index) { for (IEnumerator e = this.GetEnumerator(); e.MoveNext();) array.SetValue(e.Current, index++); } ///Copies contents from the collection to a specified ///with a /// specified starting index. /// public IEnumerator GetEnumerator() { return items.GetEnumerator(); } } }Returns an enumerator of all ///controls within the /// collection.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RSAOAEPKeyExchangeFormatter.cs
- Types.cs
- MetafileHeaderEmf.cs
- SecurityValidationBehavior.cs
- SQLInt16Storage.cs
- AppSettingsReader.cs
- PersonalizationProviderHelper.cs
- SqlEnums.cs
- PermissionAttributes.cs
- CreateUserWizardStep.cs
- AdjustableArrowCap.cs
- UnsafeNativeMethods.cs
- ToolboxSnapDragDropEventArgs.cs
- XmlSchemaSimpleTypeList.cs
- DataViewManager.cs
- RowToParametersTransformer.cs
- SourceChangedEventArgs.cs
- ImageCollectionEditor.cs
- VisualBrush.cs
- SingleConverter.cs
- DataControlReference.cs
- SlotInfo.cs
- AssemblyLoader.cs
- FilterException.cs
- EmptyTextWriter.cs
- _NetRes.cs
- ByteKeyFrameCollection.cs
- AsyncResult.cs
- Base64Encoder.cs
- LiteralTextParser.cs
- UriTemplateHelpers.cs
- DataPagerFieldCollection.cs
- Query.cs
- RegexRunnerFactory.cs
- IntegerValidatorAttribute.cs
- ErrorProvider.cs
- ZoneButton.cs
- _AcceptOverlappedAsyncResult.cs
- SerializationException.cs
- Socket.cs
- DataObjectAttribute.cs
- DirectionalLight.cs
- CssClassPropertyAttribute.cs
- MexTcpBindingElement.cs
- login.cs
- WindowsSpinner.cs
- Model3DGroup.cs
- COM2Enum.cs
- DataGridViewComboBoxCell.cs
- FusionWrap.cs
- SamlSubjectStatement.cs
- StylusButtonEventArgs.cs
- HTTPRemotingHandler.cs
- CroppedBitmap.cs
- PathBox.cs
- SequentialUshortCollection.cs
- BuiltInExpr.cs
- TextBreakpoint.cs
- CacheDependency.cs
- HttpResponse.cs
- TextParagraph.cs
- UxThemeWrapper.cs
- TrimSurroundingWhitespaceAttribute.cs
- ToolboxItemFilterAttribute.cs
- HtmlTextArea.cs
- BasicCellRelation.cs
- ChtmlCalendarAdapter.cs
- ControlPaint.cs
- ContainerVisual.cs
- StrokeIntersection.cs
- SByteConverter.cs
- TypedElement.cs
- Button.cs
- WebPartZone.cs
- FixedDocumentPaginator.cs
- ObjectSet.cs
- SqlFactory.cs
- SendReply.cs
- CatalogZone.cs
- SqlUtils.cs
- WorkflowQueuingService.cs
- InvalidProgramException.cs
- ScriptControlDescriptor.cs
- SystemIPGlobalProperties.cs
- ImageCodecInfoPrivate.cs
- Span.cs
- GridViewSortEventArgs.cs
- ThicknessAnimation.cs
- SecurityChannelListener.cs
- CollectionChangeEventArgs.cs
- localization.cs
- RequestDescription.cs
- XmlTextEncoder.cs
- EventLogPermissionEntry.cs
- MetadataArtifactLoaderCompositeFile.cs
- HyperLink.cs
- SafeNativeMethods.cs
- BoolExpression.cs
- PageAsyncTask.cs
- SqlConnectionPoolGroupProviderInfo.cs