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
- ConfigurationSettings.cs
- DefaultBinder.cs
- PropertyPushdownHelper.cs
- NameSpaceEvent.cs
- PartialCachingAttribute.cs
- ToolStripRenderer.cs
- __Error.cs
- DataContractSerializerElement.cs
- SeverityFilter.cs
- Size3D.cs
- ClientRoleProvider.cs
- Throw.cs
- DataViewSetting.cs
- newinstructionaction.cs
- GatewayDefinition.cs
- ExternalFile.cs
- ConstructorArgumentAttribute.cs
- XmlArrayAttribute.cs
- MustUnderstandBehavior.cs
- StrongNameMembershipCondition.cs
- MarshalByValueComponent.cs
- DbProviderServices.cs
- DataListItemCollection.cs
- SqlTransaction.cs
- WindowsFormsSynchronizationContext.cs
- KeyedHashAlgorithm.cs
- ConsoleEntryPoint.cs
- KeyConverter.cs
- BaseAppDomainProtocolHandler.cs
- TextControlDesigner.cs
- ToolStrip.cs
- ConfigXmlAttribute.cs
- RootNamespaceAttribute.cs
- AdornerPresentationContext.cs
- TemplateXamlTreeBuilder.cs
- HtmlInputImage.cs
- IntPtr.cs
- ReferentialConstraint.cs
- KnownTypes.cs
- SqlNotificationRequest.cs
- CachedRequestParams.cs
- LogicalChannelCollection.cs
- JsonSerializer.cs
- SqlMetaData.cs
- HtmlEmptyTagControlBuilder.cs
- VerificationException.cs
- TextProperties.cs
- ManipulationVelocities.cs
- Composition.cs
- CodeBlockBuilder.cs
- BoundColumn.cs
- Drawing.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- HtmlForm.cs
- DaylightTime.cs
- PermissionSetTriple.cs
- MissingFieldException.cs
- OutputCacheSection.cs
- ByteConverter.cs
- Accessible.cs
- TraceProvider.cs
- NamespaceEmitter.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- CornerRadiusConverter.cs
- AudioBase.cs
- TextBoxRenderer.cs
- BitArray.cs
- ButtonAutomationPeer.cs
- TypeToken.cs
- WebPartCloseVerb.cs
- DataBindingCollection.cs
- ToolStripDropDownClosingEventArgs.cs
- SafeProcessHandle.cs
- ExecutionEngineException.cs
- ContextQuery.cs
- BaseValidator.cs
- HttpPostedFile.cs
- DesignerActionVerbItem.cs
- complextypematerializer.cs
- Decorator.cs
- TextOptionsInternal.cs
- IdentifierService.cs
- SiteMap.cs
- Freezable.cs
- SelectionEditingBehavior.cs
- DetailsViewCommandEventArgs.cs
- VisualStateChangedEventArgs.cs
- PageCopyCount.cs
- SchemaImporterExtension.cs
- securitycriticaldata.cs
- InvokePattern.cs
- UpWmlMobileTextWriter.cs
- OleAutBinder.cs
- Codec.cs
- SmiRequestExecutor.cs
- XmlDataFileEditor.cs
- DataFieldConverter.cs
- _UriSyntax.cs
- HwndAppCommandInputProvider.cs
- NativeMethodsCLR.cs