Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / DesignerVerbCollection.cs / 1305376 / DesignerVerbCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design { using System; using System.Collections; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class DesignerVerbCollection : CollectionBase { ///[To be supplied.] ////// public DesignerVerbCollection() { } ///[To be supplied.] ////// public DesignerVerbCollection(DesignerVerb[] value) { AddRange(value); } ///[To be supplied.] ////// public DesignerVerb this[int index] { get { return (DesignerVerb)(List[index]); } set { List[index] = value; } } ///[To be supplied.] ////// public int Add(DesignerVerb value) { return List.Add(value); } ///[To be supplied.] ////// public void AddRange(DesignerVerb[] value) { if (value == null) { throw new ArgumentNullException("value"); } for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) { this.Add(value[i]); } } ///[To be supplied.] ////// public void AddRange(DesignerVerbCollection value) { if (value == null) { throw new ArgumentNullException("value"); } int currentCount = value.Count; for (int i = 0; i < currentCount; i = ((i) + (1))) { this.Add(value[i]); } } ///[To be supplied.] ////// public void Insert(int index, DesignerVerb value) { List.Insert(index, value); } ///[To be supplied.] ////// public int IndexOf(DesignerVerb value) { return List.IndexOf(value); } ///[To be supplied.] ////// public bool Contains(DesignerVerb value) { return List.Contains(value); } ///[To be supplied.] ////// public void Remove(DesignerVerb value) { List.Remove(value); } ///[To be supplied.] ////// public void CopyTo(DesignerVerb[] array, int index) { List.CopyTo(array, index); } ///[To be supplied.] ////// protected override void OnSet(int index, object oldValue, object newValue) { } ///[To be supplied.] ////// protected override void OnInsert(int index, object value) { } ///[To be supplied.] ////// protected override void OnClear() { } ///[To be supplied.] ////// protected override void OnRemove(int index, object value) { } ///[To be supplied.] ////// protected override void OnValidate(object value) { Debug.Assert(value != null, "Don't add null verbs!"); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeConstructor.cs
- FunctionUpdateCommand.cs
- Converter.cs
- SendKeys.cs
- SQLInt64Storage.cs
- SoapDocumentMethodAttribute.cs
- MissingManifestResourceException.cs
- EmbeddedMailObject.cs
- ParameterRefs.cs
- CustomCategoryAttribute.cs
- Splitter.cs
- SqlCharStream.cs
- ElementNotEnabledException.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ToolboxBitmapAttribute.cs
- TdsParserSafeHandles.cs
- PopupControlService.cs
- Converter.cs
- GetWorkflowTree.cs
- EventPropertyMap.cs
- TCEAdapterGenerator.cs
- TempEnvironment.cs
- ColumnMap.cs
- CodeNamespace.cs
- HorizontalAlignConverter.cs
- XslNumber.cs
- TextSearch.cs
- WebScriptMetadataMessage.cs
- DispatcherObject.cs
- SourceFileBuildProvider.cs
- PasswordBox.cs
- CheckBoxField.cs
- CommandPlan.cs
- SapiRecoInterop.cs
- BitmapCache.cs
- Encoder.cs
- TextSchema.cs
- TemplateControlBuildProvider.cs
- CachedBitmap.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- Ticks.cs
- DataBinder.cs
- MenuEventArgs.cs
- FlowDocumentScrollViewer.cs
- regiisutil.cs
- ImpersonationContext.cs
- StructuredType.cs
- IndependentAnimationStorage.cs
- Switch.cs
- CodeDefaultValueExpression.cs
- RoleManagerEventArgs.cs
- DataGridViewRowPostPaintEventArgs.cs
- ManagedWndProcTracker.cs
- WebPartDescription.cs
- DetailsViewInsertEventArgs.cs
- HttpConfigurationSystem.cs
- NativeWindow.cs
- AbstractSvcMapFileLoader.cs
- ButtonField.cs
- StrokeFIndices.cs
- TypeInitializationException.cs
- ModuleBuilderData.cs
- XmlHierarchicalEnumerable.cs
- StrongNameKeyPair.cs
- TreeNodeCollection.cs
- HostDesigntimeLicenseContext.cs
- ProcessModelSection.cs
- DataGridTextBox.cs
- MenuCommand.cs
- SamlSerializer.cs
- propertyentry.cs
- SettingsPropertyCollection.cs
- TimelineGroup.cs
- StylusButtonEventArgs.cs
- SqlWebEventProvider.cs
- TimeSpanConverter.cs
- VisualStyleElement.cs
- UnknownBitmapEncoder.cs
- SecurityContextKeyIdentifierClause.cs
- DataColumnChangeEvent.cs
- XLinq.cs
- ScriptHandlerFactory.cs
- DependencyObject.cs
- GB18030Encoding.cs
- ImageField.cs
- Nullable.cs
- XmlSchemaAny.cs
- SurrogateDataContract.cs
- InvalidStoreProtectionKeyException.cs
- DataGridHelper.cs
- EnumValAlphaComparer.cs
- ActivityExecutionContext.cs
- SizeKeyFrameCollection.cs
- DPTypeDescriptorContext.cs
- MouseGesture.cs
- OleDbSchemaGuid.cs
- UserControl.cs
- SystemException.cs
- DynamicEndpointElement.cs
- _CacheStreams.cs