Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeParameterDeclarationExpressionCollection.cs / 1 / CodeParameterDeclarationExpressionCollection.cs
// ------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeParameterDeclarationExpressionCollection : CollectionBase { ////// A collection that stores ///objects. /// /// public CodeParameterDeclarationExpressionCollection() { } ////// Initializes a new instance of ///. /// /// public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpressionCollection value) { this.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpression[] value) { this.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// public CodeParameterDeclarationExpression this[int index] { get { return ((CodeParameterDeclarationExpression)(List[index])); } set { List[index] = value; } } ///Represents the entry at the specified index of the ///. /// public int Add(CodeParameterDeclarationExpression value) { return List.Add(value); } ///Adds a ///with the specified value to the /// . /// public void AddRange(CodeParameterDeclarationExpression[] value) { if (value == null) { throw new ArgumentNullException("value"); } for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) { this.Add(value[i]); } } ///Copies the elements of an array to the end of the ///. /// public void AddRange(CodeParameterDeclarationExpressionCollection value) { if (value == null) { throw new ArgumentNullException("value"); } int currentCount = value.Count; for (int i = 0; i < currentCount; i = ((i) + (1))) { this.Add(value[i]); } } ////// Adds the contents of another ///to the end of the collection. /// /// public bool Contains(CodeParameterDeclarationExpression value) { return List.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// public void CopyTo(CodeParameterDeclarationExpression[] array, int index) { List.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// public int IndexOf(CodeParameterDeclarationExpression value) { return List.IndexOf(value); } ///Returns the index of a ///in /// the . /// public void Insert(int index, CodeParameterDeclarationExpression value) { List.Insert(index, value); } ///Inserts a ///into the at the specified index. /// public void Remove(CodeParameterDeclarationExpression value) { List.Remove(value); } } }Removes a specific ///from the /// .
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- wgx_sdk_version.cs
- ImageAttributes.cs
- XmlnsDictionary.cs
- TextTreePropertyUndoUnit.cs
- GetIndexBinder.cs
- Binding.cs
- NumericUpDownAccelerationCollection.cs
- XmlEncoding.cs
- EmptyQuery.cs
- CreateUserWizard.cs
- ToolBarButton.cs
- XamlGridLengthSerializer.cs
- DataGridTablesFactory.cs
- SessionStateItemCollection.cs
- SettingsPropertyValueCollection.cs
- SiteMapPathDesigner.cs
- SizeConverter.cs
- dbenumerator.cs
- RuntimeWrappedException.cs
- EntityContainerEmitter.cs
- ListViewSortEventArgs.cs
- SoapReflectionImporter.cs
- HashRepartitionEnumerator.cs
- CustomExpressionEventArgs.cs
- __FastResourceComparer.cs
- LogicalExpr.cs
- QilScopedVisitor.cs
- SQLMembershipProvider.cs
- SecurityKeyUsage.cs
- ProjectionCamera.cs
- PipeStream.cs
- ToolboxItemFilterAttribute.cs
- PolyLineSegmentFigureLogic.cs
- RtfControls.cs
- GlobalDataBindingHandler.cs
- ControlPersister.cs
- CodeAttributeDeclaration.cs
- CheckPair.cs
- SqlCacheDependencyDatabaseCollection.cs
- TimeoutHelper.cs
- StrokeNodeOperations2.cs
- DataObjectMethodAttribute.cs
- TextCollapsingProperties.cs
- TreeView.cs
- OpenTypeMethods.cs
- FrameworkElementFactoryMarkupObject.cs
- HttpCapabilitiesEvaluator.cs
- BitmapSourceSafeMILHandle.cs
- DrawingContextDrawingContextWalker.cs
- XPathSingletonIterator.cs
- WebPartCollection.cs
- WorkflowViewService.cs
- SecurityDocument.cs
- TypeUtils.cs
- TrustLevelCollection.cs
- SurrogateEncoder.cs
- infer.cs
- HwndPanningFeedback.cs
- ProfileSection.cs
- DBCSCodePageEncoding.cs
- EdmFunctionAttribute.cs
- DataGridViewDataConnection.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- FormViewDeletedEventArgs.cs
- XmlConvert.cs
- XmlCodeExporter.cs
- NetMsmqSecurityElement.cs
- SpeechDetectedEventArgs.cs
- XmlDataFileEditor.cs
- WsdlBuildProvider.cs
- Error.cs
- XMLSyntaxException.cs
- Inflater.cs
- SrgsElementFactoryCompiler.cs
- BitmapSourceSafeMILHandle.cs
- RadioButton.cs
- HwndSourceParameters.cs
- MethodCallConverter.cs
- SamlAuthorizationDecisionStatement.cs
- BasicExpandProvider.cs
- RunInstallerAttribute.cs
- XmlSiteMapProvider.cs
- Color.cs
- CompositionTarget.cs
- ObservableCollection.cs
- JsonByteArrayDataContract.cs
- ErrorFormatterPage.cs
- SBCSCodePageEncoding.cs
- SqlFlattener.cs
- InputBindingCollection.cs
- TreeViewImageKeyConverter.cs
- MenuItemCollectionEditor.cs
- WebPartManagerInternals.cs
- MsmqHostedTransportConfiguration.cs
- SBCSCodePageEncoding.cs
- Pair.cs
- BindingCollection.cs
- SingleAnimationUsingKeyFrames.cs
- webproxy.cs
- HeaderedContentControl.cs