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
- XmlBinaryReader.cs
- ContextMenuStripActionList.cs
- OleTxTransaction.cs
- ReadOnlyCollectionBase.cs
- CategoryNameCollection.cs
- RecipientInfo.cs
- XmlChildNodes.cs
- MD5HashHelper.cs
- ToolStripCustomTypeDescriptor.cs
- SqlProviderServices.cs
- EventEntry.cs
- VectorAnimationUsingKeyFrames.cs
- BamlRecordHelper.cs
- Splitter.cs
- MediaSystem.cs
- DelegateArgumentReference.cs
- EdmScalarPropertyAttribute.cs
- NavigationProgressEventArgs.cs
- StrongNamePublicKeyBlob.cs
- BaseAppDomainProtocolHandler.cs
- DummyDataSource.cs
- DataListCommandEventArgs.cs
- ColumnPropertiesGroup.cs
- File.cs
- MatrixTransform.cs
- RtfControlWordInfo.cs
- SBCSCodePageEncoding.cs
- CapabilitiesPattern.cs
- AspNetRouteServiceHttpHandler.cs
- RelativeSource.cs
- Error.cs
- BevelBitmapEffect.cs
- TextServicesDisplayAttribute.cs
- UDPClient.cs
- RepeaterCommandEventArgs.cs
- SystemKeyConverter.cs
- SafeFileMappingHandle.cs
- XmlRawWriter.cs
- TrustSection.cs
- VirtualPath.cs
- TableItemPattern.cs
- PropertyPathConverter.cs
- MetafileHeaderEmf.cs
- FilterableData.cs
- OverlappedAsyncResult.cs
- CommonRemoteMemoryBlock.cs
- WebPartCloseVerb.cs
- XmlEventCache.cs
- CollectionChangedEventManager.cs
- SystemFonts.cs
- Style.cs
- SerializerDescriptor.cs
- HierarchicalDataTemplate.cs
- HandlerBase.cs
- XPathAncestorQuery.cs
- TransactionChannelFaultConverter.cs
- KoreanLunisolarCalendar.cs
- CommandHelpers.cs
- StringTraceRecord.cs
- ListViewCancelEventArgs.cs
- ReturnValue.cs
- SemanticAnalyzer.cs
- TrustExchangeException.cs
- SqlPersonalizationProvider.cs
- FrameworkElementAutomationPeer.cs
- ObjectViewFactory.cs
- UniqueIdentifierService.cs
- ConnectionPoolManager.cs
- ColumnMapProcessor.cs
- GlyphingCache.cs
- Preprocessor.cs
- RegexCaptureCollection.cs
- ViewGenerator.cs
- ContractCodeDomInfo.cs
- OracleInfoMessageEventArgs.cs
- GridViewColumnHeader.cs
- ListSourceHelper.cs
- DataRowView.cs
- GradientStopCollection.cs
- Label.cs
- PersonalizablePropertyEntry.cs
- Helpers.cs
- PeerName.cs
- RoutedEventHandlerInfo.cs
- DataList.cs
- RegexRunnerFactory.cs
- AppDomainFactory.cs
- Debug.cs
- RightsManagementInformation.cs
- ScriptingProfileServiceSection.cs
- DataMisalignedException.cs
- ErrorView.xaml.cs
- BindingGraph.cs
- Point4DValueSerializer.cs
- LayoutEditorPart.cs
- AlternationConverter.cs
- GridViewHeaderRowPresenter.cs
- XamlGridLengthSerializer.cs
- FrameSecurityDescriptor.cs
- CompModSwitches.cs