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
- ServerIdentity.cs
- Authorization.cs
- Latin1Encoding.cs
- XmlDocumentSerializer.cs
- GridItemPattern.cs
- DependencyProperty.cs
- ProgressBarHighlightConverter.cs
- Invariant.cs
- RegexGroup.cs
- PageRouteHandler.cs
- TraceContextRecord.cs
- XmlDigitalSignatureProcessor.cs
- PolyBezierSegment.cs
- SafeBitVector32.cs
- QueryExpr.cs
- FontUnitConverter.cs
- VisualStyleElement.cs
- BitmapEffectDrawing.cs
- ChannelBuilder.cs
- CookielessData.cs
- InvalidWMPVersionException.cs
- XamlTypeMapper.cs
- XPathSelfQuery.cs
- RegexFCD.cs
- Int32Storage.cs
- Typeface.cs
- XPathDocument.cs
- WebPartMenuStyle.cs
- WinFormsSpinner.cs
- ToggleProviderWrapper.cs
- COAUTHIDENTITY.cs
- COAUTHINFO.cs
- PrtTicket_Base.cs
- WebZone.cs
- RelationalExpressions.cs
- CriticalExceptions.cs
- FullTrustAssembliesSection.cs
- TableRowCollection.cs
- DateTimeFormatInfo.cs
- SessionEndedEventArgs.cs
- PaginationProgressEventArgs.cs
- Missing.cs
- ReachSerializableProperties.cs
- Win32SafeHandles.cs
- PathSegment.cs
- XmlIlTypeHelper.cs
- ChangeConflicts.cs
- TextDecorations.cs
- ArgumentException.cs
- SqlRowUpdatingEvent.cs
- ConfigurationSection.cs
- StylusDownEventArgs.cs
- FactoryId.cs
- PathSegmentCollection.cs
- UnsafeNativeMethods.cs
- CacheHelper.cs
- XmlSchemaAnnotation.cs
- ProcessInputEventArgs.cs
- DataGridViewCellFormattingEventArgs.cs
- MatrixAnimationBase.cs
- ActiveXHelper.cs
- DependencyObjectProvider.cs
- COM2IPerPropertyBrowsingHandler.cs
- GraphicsPath.cs
- ScriptingProfileServiceSection.cs
- PointValueSerializer.cs
- CustomAttribute.cs
- SafeSystemMetrics.cs
- DataGridDetailsPresenter.cs
- ZipIOCentralDirectoryFileHeader.cs
- DataObject.cs
- SerializationSectionGroup.cs
- PageBuildProvider.cs
- Compiler.cs
- CalendarTable.cs
- BinaryWriter.cs
- EntityTypeBase.cs
- ParallelTimeline.cs
- WsiProfilesElementCollection.cs
- CroppedBitmap.cs
- StateChangeEvent.cs
- Filter.cs
- OdbcEnvironment.cs
- RuntimeEnvironment.cs
- GraphicsPath.cs
- RepeatBehaviorConverter.cs
- SystemKeyConverter.cs
- AsmxEndpointPickerExtension.cs
- BaseDataList.cs
- EmbeddedMailObjectsCollection.cs
- Viewport3DAutomationPeer.cs
- CounterCreationDataConverter.cs
- ObjectManager.cs
- UpdateRecord.cs
- ExtensionWindowResizeGrip.cs
- RPIdentityRequirement.cs
- MimeImporter.cs
- COM2ExtendedBrowsingHandler.cs
- CancellationToken.cs
- KeyValueConfigurationElement.cs