Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.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
- SourceLocationProvider.cs
- CounterSample.cs
- BlurEffect.cs
- XmlChildNodes.cs
- DesignerHierarchicalDataSourceView.cs
- CodeDirectoryCompiler.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- OverlappedContext.cs
- ResourcesChangeInfo.cs
- CharEnumerator.cs
- CacheAxisQuery.cs
- AutomationProperties.cs
- OleDbParameter.cs
- DefaultSection.cs
- TypeListConverter.cs
- XpsResource.cs
- cache.cs
- SpellerInterop.cs
- RequestUriProcessor.cs
- HtmlMeta.cs
- FixedTextPointer.cs
- PeerNameRecordCollection.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- AttributeProviderAttribute.cs
- SmtpAuthenticationManager.cs
- Converter.cs
- HashCodeCombiner.cs
- ErrorHandler.cs
- AccessDataSourceView.cs
- HtmlInputReset.cs
- DeadCharTextComposition.cs
- ConsumerConnectionPointCollection.cs
- CodeMemberProperty.cs
- SQLDecimal.cs
- PriorityBindingExpression.cs
- StrongNameIdentityPermission.cs
- FormsAuthenticationConfiguration.cs
- SafeBitVector32.cs
- KnownTypesHelper.cs
- QilXmlWriter.cs
- SerializationInfoEnumerator.cs
- EventToken.cs
- DataBindingHandlerAttribute.cs
- PenContexts.cs
- GridEntry.cs
- CompModSwitches.cs
- FilteredXmlReader.cs
- FeatureManager.cs
- RecordConverter.cs
- FontFamily.cs
- SHA384Cng.cs
- MetafileHeader.cs
- SkipStoryboardToFill.cs
- LinearGradientBrush.cs
- CreateUserWizardDesigner.cs
- OdbcDataReader.cs
- XmlSchemaSequence.cs
- BasicExpandProvider.cs
- PeerMaintainer.cs
- OleTxTransactionInfo.cs
- WsatStrings.cs
- ServiceEndpoint.cs
- HandlerFactoryWrapper.cs
- WebPartTransformer.cs
- DbConnectionPool.cs
- Bitmap.cs
- ByteStack.cs
- ListItemCollection.cs
- RemotingServices.cs
- XamlSerializer.cs
- Nodes.cs
- SafeNativeMethodsOther.cs
- DataGridViewImageColumn.cs
- EventLogTraceListener.cs
- IdnMapping.cs
- WebBrowserNavigatingEventHandler.cs
- DataGridViewAccessibleObject.cs
- TableSectionStyle.cs
- PathData.cs
- AdjustableArrowCap.cs
- LongValidatorAttribute.cs
- FtpRequestCacheValidator.cs
- sqlnorm.cs
- TemplateComponentConnector.cs
- BitmapSource.cs
- StringTraceRecord.cs
- DoubleLink.cs
- PersonalizablePropertyEntry.cs
- FormViewModeEventArgs.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- NullableDoubleSumAggregationOperator.cs
- EventHandlerList.cs
- WsdlBuildProvider.cs
- EffectiveValueEntry.cs
- UpdatableWrapper.cs
- CryptoApi.cs
- Storyboard.cs
- TimerElapsedEvenArgs.cs
- GPStream.cs
- VisualTreeHelper.cs