Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DiscoveryCallbackBehavior.cs
- TcpConnectionPoolSettingsElement.cs
- ChtmlTextBoxAdapter.cs
- CodeConstructor.cs
- DebugHandleTracker.cs
- SerTrace.cs
- ProvidePropertyAttribute.cs
- SubqueryRules.cs
- CallSiteHelpers.cs
- ControlIdConverter.cs
- Int64.cs
- ErrorFormatter.cs
- Base64Decoder.cs
- PropertyValidationContext.cs
- ServiceHostFactory.cs
- OleDbDataAdapter.cs
- ObjectConverter.cs
- DataGridViewCheckBoxCell.cs
- HyperLinkField.cs
- Rect.cs
- LineServicesRun.cs
- BinHexEncoder.cs
- BrowserTree.cs
- QilName.cs
- DetailsViewInsertEventArgs.cs
- DelegatingTypeDescriptionProvider.cs
- DynamicValidatorEventArgs.cs
- FontNameConverter.cs
- ResourcesChangeInfo.cs
- ILGenerator.cs
- SqlParameter.cs
- XmlSchemaAttribute.cs
- GroupBox.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- KeyInstance.cs
- _ListenerResponseStream.cs
- ObjectCloneHelper.cs
- CodeLabeledStatement.cs
- ExceptionUtility.cs
- SecurityTokenParametersEnumerable.cs
- WebReferencesBuildProvider.cs
- ScaleTransform.cs
- FileInfo.cs
- DataKey.cs
- TableParaClient.cs
- SqlSupersetValidator.cs
- XmlnsPrefixAttribute.cs
- ProtocolsConfigurationEntry.cs
- VariableQuery.cs
- ResourcePart.cs
- StylusPointPropertyId.cs
- PreviewKeyDownEventArgs.cs
- StrokeCollection.cs
- PointF.cs
- SeverityFilter.cs
- OdbcStatementHandle.cs
- FaultCallbackWrapper.cs
- ListViewDesigner.cs
- NameValuePair.cs
- SqlGatherConsumedAliases.cs
- ExpressionBuilder.cs
- X500Name.cs
- AttachmentCollection.cs
- CompilerScopeManager.cs
- DocumentAutomationPeer.cs
- ColorAnimationBase.cs
- KnownBoxes.cs
- SourceInterpreter.cs
- BitmapPalettes.cs
- IntersectQueryOperator.cs
- UpdatePanelTrigger.cs
- ImageAnimator.cs
- OperationParameterInfo.cs
- _FtpControlStream.cs
- CheckBoxPopupAdapter.cs
- SmtpCommands.cs
- ListItemCollection.cs
- ThreadStartException.cs
- UseLicense.cs
- SQLDateTimeStorage.cs
- SmtpDigestAuthenticationModule.cs
- UnsafeNativeMethods.cs
- Blend.cs
- TagPrefixCollection.cs
- LookupNode.cs
- XPathDocumentBuilder.cs
- ConnectionsZoneDesigner.cs
- xdrvalidator.cs
- LiteralControl.cs
- UrlPath.cs
- Empty.cs
- Control.cs
- DrawListViewItemEventArgs.cs
- RepeaterItemCollection.cs
- MobileComponentEditorPage.cs
- RegexWorker.cs
- EntityDataSourceColumn.cs
- Control.cs
- TemplateContentLoader.cs
- DynamicRouteExpression.cs