Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeIndexerExpression.cs / 1305376 / CodeIndexerExpression.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeIndexerExpression : CodeExpression { private CodeExpression targetObject; private CodeExpressionCollection indices; ////// Represents an array indexer expression. /// ////// public CodeIndexerExpression() { } ////// Initializes a new instance of ///. /// /// public CodeIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { this.targetObject = targetObject; this.indices = new CodeExpressionCollection(); this.indices.AddRange(indices); } ////// Initializes a new instance of ///using the specified target /// object and index. /// /// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets /// the target object. /// ////// public CodeExpressionCollection Indices { get { if (indices == null) { indices = new CodeExpressionCollection(); } return indices; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets /// the index. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeIndexerExpression : CodeExpression { private CodeExpression targetObject; private CodeExpressionCollection indices; ////// Represents an array indexer expression. /// ////// public CodeIndexerExpression() { } ////// Initializes a new instance of ///. /// /// public CodeIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { this.targetObject = targetObject; this.indices = new CodeExpressionCollection(); this.indices.AddRange(indices); } ////// Initializes a new instance of ///using the specified target /// object and index. /// /// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets /// the target object. /// ////// public CodeExpressionCollection Indices { get { if (indices == null) { indices = new CodeExpressionCollection(); } return indices; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets /// the index. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UrlUtility.cs
- DataGridViewCellEventArgs.cs
- MeshGeometry3D.cs
- GridSplitter.cs
- XmlSchemaSimpleTypeList.cs
- ObfuscateAssemblyAttribute.cs
- TableLayoutPanelCellPosition.cs
- GenericUI.cs
- SmtpReplyReaderFactory.cs
- DataControlPagerLinkButton.cs
- SplashScreen.cs
- DataKeyArray.cs
- DaylightTime.cs
- IntersectQueryOperator.cs
- HeaderCollection.cs
- FileSystemWatcher.cs
- TemplateEditingFrame.cs
- TextServicesCompartment.cs
- MetadataArtifactLoader.cs
- CustomLineCap.cs
- FormsAuthenticationUserCollection.cs
- DelegateInArgument.cs
- AnonymousIdentificationSection.cs
- LayoutEvent.cs
- RevocationPoint.cs
- ResumeStoryboard.cs
- AffineTransform3D.cs
- MsmqTransportSecurityElement.cs
- HitTestDrawingContextWalker.cs
- ObjectSecurity.cs
- PermissionAttributes.cs
- TextChangedEventArgs.cs
- IsolatedStoragePermission.cs
- VoiceSynthesis.cs
- AutomationPropertyInfo.cs
- CheckBox.cs
- Stroke2.cs
- XmlLinkedNode.cs
- Section.cs
- TreeNodeCollectionEditor.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- PriorityItem.cs
- ListViewCancelEventArgs.cs
- CodeCastExpression.cs
- BitmapEffectDrawingContent.cs
- HtmlControl.cs
- TriggerCollection.cs
- EndEvent.cs
- ConfigXmlText.cs
- Select.cs
- EventDrivenDesigner.cs
- View.cs
- HtmlElement.cs
- TemplateComponentConnector.cs
- MailHeaderInfo.cs
- PeerMessageDispatcher.cs
- ProfilePropertyNameValidator.cs
- documentation.cs
- DocumentGridContextMenu.cs
- Util.cs
- UpnEndpointIdentityExtension.cs
- DbProviderConfigurationHandler.cs
- TrustLevel.cs
- SecurityDocument.cs
- MemoryRecordBuffer.cs
- TypeValidationEventArgs.cs
- WebPartEventArgs.cs
- PerfCounterSection.cs
- ToolStripManager.cs
- DataServiceProviderWrapper.cs
- ThreadStateException.cs
- XsdValidatingReader.cs
- NavigationWindow.cs
- ModelPropertyDescriptor.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- InputScopeConverter.cs
- PolicyStatement.cs
- LocalizationComments.cs
- XmlSchemaInferenceException.cs
- SystemKeyConverter.cs
- SinglePageViewer.cs
- X509IssuerSerialKeyIdentifierClause.cs
- ISCIIEncoding.cs
- UmAlQuraCalendar.cs
- IgnoreFlushAndCloseStream.cs
- DashStyles.cs
- Application.cs
- HandleRef.cs
- BinaryOperationBinder.cs
- CheckPair.cs
- TextSearch.cs
- versioninfo.cs
- ToolStripComboBox.cs
- ProgressChangedEventArgs.cs
- TypedOperationInfo.cs
- Error.cs
- DependencySource.cs
- DetailsViewRowCollection.cs
- CounterSample.cs
- DockPattern.cs