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
- CursorConverter.cs
- ExpressionParser.cs
- PeerCollaborationPermission.cs
- CmsUtils.cs
- WebBrowserPermission.cs
- LoginNameDesigner.cs
- HttpCookie.cs
- NavigationExpr.cs
- DateTimeConverter.cs
- HtmlCommandAdapter.cs
- AuthStoreRoleProvider.cs
- DrawingGroup.cs
- UIElement3D.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Lasso.cs
- QueryOptionExpression.cs
- EmptyControlCollection.cs
- RequestBringIntoViewEventArgs.cs
- SymmetricKey.cs
- FormatStringEditor.cs
- LinkDescriptor.cs
- MetadataUtilsSmi.cs
- DataTemplateSelector.cs
- ValueConversionAttribute.cs
- RandomNumberGenerator.cs
- SqlMultiplexer.cs
- Light.cs
- EvidenceBase.cs
- NativeWindow.cs
- DesignerAdapterAttribute.cs
- BamlStream.cs
- IgnoreFlushAndCloseStream.cs
- StringUtil.cs
- DataGridViewCellValidatingEventArgs.cs
- HttpCookiesSection.cs
- ColumnHeaderConverter.cs
- VisualTreeUtils.cs
- KeyValueInternalCollection.cs
- ListBoxItemAutomationPeer.cs
- assertwrapper.cs
- Conditional.cs
- Cursors.cs
- glyphs.cs
- BinaryReader.cs
- CreateUserWizardStep.cs
- OrderPreservingPipeliningMergeHelper.cs
- IconBitmapDecoder.cs
- ContainsRowNumberChecker.cs
- OfTypeExpression.cs
- HtmlButton.cs
- XmlDocument.cs
- TypeValidationEventArgs.cs
- WebPartZoneCollection.cs
- ConnectionManagementElement.cs
- NetworkInformationPermission.cs
- InertiaTranslationBehavior.cs
- ObjectNotFoundException.cs
- ListControl.cs
- PreservationFileReader.cs
- NavigationProperty.cs
- DataGridViewCellValidatingEventArgs.cs
- OdbcError.cs
- ClientScriptItem.cs
- ConfigurationException.cs
- LinkTarget.cs
- VirtualizingStackPanel.cs
- GridViewAutomationPeer.cs
- AlignmentXValidation.cs
- ClientOptions.cs
- VisualStyleElement.cs
- EditorZoneAutoFormat.cs
- FunctionParameter.cs
- Blend.cs
- ObjectDataSourceWizardForm.cs
- ProfileInfo.cs
- SmiContextFactory.cs
- SizeValueSerializer.cs
- DocobjHost.cs
- ShimAsPublicXamlType.cs
- FolderBrowserDialog.cs
- ComponentCache.cs
- TreeNodeStyle.cs
- OutputCacheSection.cs
- FixedNode.cs
- XmlUnspecifiedAttribute.cs
- GcSettings.cs
- MouseActionConverter.cs
- LogRecordSequence.cs
- EdgeProfileValidation.cs
- ReadOnlyNameValueCollection.cs
- CategoryAttribute.cs
- EventData.cs
- Tag.cs
- Encoding.cs
- FilterElement.cs
- DesignerDataStoredProcedure.cs
- AttachedPropertyBrowsableAttribute.cs
- NativeRecognizer.cs
- DataGridColumnCollection.cs
- SymbolMethod.cs