Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / CodeDOM / CodeIndexerExpression.cs / 1 / CodeIndexerExpression.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ 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. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ 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
- XmlSchemaRedefine.cs
- Executor.cs
- XamlSerializerUtil.cs
- RegistryConfigurationProvider.cs
- DefaultWorkflowSchedulerService.cs
- UInt32Converter.cs
- RequestStatusBarUpdateEventArgs.cs
- DeleteMemberBinder.cs
- Pointer.cs
- ToolboxDataAttribute.cs
- CodeMemberField.cs
- XPathSelectionIterator.cs
- Mapping.cs
- ResourcesChangeInfo.cs
- XmlNullResolver.cs
- OdbcInfoMessageEvent.cs
- SchemaElementDecl.cs
- OdbcErrorCollection.cs
- WebPartCollection.cs
- HttpHandlerActionCollection.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- xsdvalidator.cs
- StylusDevice.cs
- RIPEMD160.cs
- sqlser.cs
- Optimizer.cs
- GridViewCommandEventArgs.cs
- StreamGeometryContext.cs
- ClientCultureInfo.cs
- DesignerSerializerAttribute.cs
- QueryStringParameter.cs
- Baml6Assembly.cs
- LinkArea.cs
- TextTreeExtractElementUndoUnit.cs
- CompositeDataBoundControl.cs
- TdsRecordBufferSetter.cs
- PersistenceMetadataNamespace.cs
- XmlSchemaAppInfo.cs
- AxHost.cs
- GPStream.cs
- OperandQuery.cs
- SimpleType.cs
- ChangeConflicts.cs
- GetWinFXPath.cs
- SubqueryRules.cs
- TraceSection.cs
- MenuStrip.cs
- PermissionAttributes.cs
- DataGridViewImageColumn.cs
- OletxResourceManager.cs
- DBDataPermissionAttribute.cs
- CodeParameterDeclarationExpression.cs
- LabelDesigner.cs
- RequestStatusBarUpdateEventArgs.cs
- EntityTypeEmitter.cs
- HelpExampleGenerator.cs
- Input.cs
- XPathDocument.cs
- AdCreatedEventArgs.cs
- BuildProvider.cs
- AccessDataSourceWizardForm.cs
- TemplateBuilder.cs
- CheckBox.cs
- VisualTreeUtils.cs
- SectionXmlInfo.cs
- __Filters.cs
- SiteMapDataSourceView.cs
- BamlWriter.cs
- Int32Rect.cs
- X509ServiceCertificateAuthenticationElement.cs
- CalendarDateRange.cs
- RadioButtonList.cs
- VirtualPathProvider.cs
- ManifestResourceInfo.cs
- IdentityValidationException.cs
- Button.cs
- OutputScopeManager.cs
- FontInfo.cs
- MobileUITypeEditor.cs
- XmlSchemaCompilationSettings.cs
- DesignerAttribute.cs
- TrackingProfile.cs
- Geometry3D.cs
- InvariantComparer.cs
- XmlNodeChangedEventManager.cs
- StylusButtonCollection.cs
- SqlCachedBuffer.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- UIElement3D.cs
- SchemaSetCompiler.cs
- ConnectionString.cs
- StringStorage.cs
- ZipFileInfo.cs
- CopyAttributesAction.cs
- KeyMatchBuilder.cs
- ViewManager.cs
- EntityViewGenerator.cs
- SoapUnknownHeader.cs
- Point.cs
- PathFigure.cs