Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Documents / LinkTarget.cs / 1 / LinkTarget.cs
//---------------------------------------------------------------------------- //// Copyright (C) 2004 by Microsoft Corporation. All rights reserved. // // // Description: // Implements the LinkTargetCollection as holder for a collection // of LinkTarget // // History: // 02/01/2005 - [....]([....]) - Created. // // //--------------------------------------------------------------------------- namespace System.Windows.Documents { using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; using System.Windows.Threading; using System.Windows.Markup; //===================================================================== ////// LinkTarget is the class that keep name that a named element exist in document /// public sealed class LinkTarget { ////// The element name /// public string Name { get { return _name; } set { _name = value; } } private string _name; } //===================================================================== ////// LinkTargetCollection is an ordered collection of LinkTarget /// It has to implement plain IList because the parser doesn't support /// generics IList. /// public sealed class LinkTargetCollection : CollectionBase { //-------------------------------------------------------------------- // // Public Methods // //--------------------------------------------------------------------- ////// /// public LinkTarget this[int index] { get { return (LinkTarget)((IList)this)[index]; } set { ((IList)this)[index] = value; } } ////// /// public int Add(LinkTarget value) { return ((IList)this).Add((object)value); } ////// /// public void Remove(LinkTarget value) { ((IList)this).Remove((object) value); } ////// /// public bool Contains(LinkTarget value) { return ((IList)this).Contains((object)value); } ////// /// public void CopyTo(LinkTarget[] array, int index) { ((ICollection)this).CopyTo(array, index); } ////// /// public int IndexOf(LinkTarget value) { return ((IList)this).IndexOf((object)value); } ////// /// public void Insert(int index, LinkTarget value) { ((IList)this).Insert(index, (object)value); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DesignTimeXamlWriter.cs
- JsonReader.cs
- NotCondition.cs
- DataListItem.cs
- HtmlShim.cs
- StorageEndPropertyMapping.cs
- FixedPageStructure.cs
- HttpCachePolicy.cs
- ScalarType.cs
- BufferedStream.cs
- DataListItemEventArgs.cs
- DataGridPagerStyle.cs
- HatchBrush.cs
- StructuralType.cs
- DataSysAttribute.cs
- ViewPort3D.cs
- ConfigurationStrings.cs
- filewebrequest.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- XmlDataContract.cs
- WebAdminConfigurationHelper.cs
- ValueChangedEventManager.cs
- WebConfigurationHost.cs
- CodeTypeMember.cs
- ViewStateException.cs
- PreloadedPackages.cs
- SafeLibraryHandle.cs
- DataGridViewElement.cs
- SyndicationPerson.cs
- Property.cs
- ClientBuildManagerCallback.cs
- PropertyToken.cs
- StrokeNodeOperations2.cs
- XmlIlVisitor.cs
- Decoder.cs
- BindingWorker.cs
- SapiRecognizer.cs
- ToolStripItemEventArgs.cs
- Config.cs
- EntityProviderFactory.cs
- serverconfig.cs
- EDesignUtil.cs
- DataTableMapping.cs
- TCPListener.cs
- LogEntry.cs
- IntegerFacetDescriptionElement.cs
- Padding.cs
- XPathNavigatorReader.cs
- ForEachDesigner.xaml.cs
- MsmqQueue.cs
- Substitution.cs
- SimpleApplicationHost.cs
- FunctionQuery.cs
- ImportedPolicyConversionContext.cs
- HtmlInputSubmit.cs
- PropertyChange.cs
- RectAnimation.cs
- figurelength.cs
- DesignSurfaceServiceContainer.cs
- DataReaderContainer.cs
- diagnosticsswitches.cs
- ReadOnlyDictionary.cs
- ProfileGroupSettings.cs
- DesignSurfaceManager.cs
- IODescriptionAttribute.cs
- basevalidator.cs
- ModelPropertyCollectionImpl.cs
- Point4D.cs
- IdnMapping.cs
- SmtpAuthenticationManager.cs
- Task.cs
- PackageDigitalSignatureManager.cs
- SecurityKeyIdentifier.cs
- RuleDefinitions.cs
- HashMembershipCondition.cs
- MetadataItemEmitter.cs
- UserControl.cs
- XdrBuilder.cs
- DesignTimeXamlWriter.cs
- WebCategoryAttribute.cs
- SystemNetworkInterface.cs
- SpStreamWrapper.cs
- TypeConverterHelper.cs
- WebConfigurationHostFileChange.cs
- XmlReflectionImporter.cs
- RoleGroup.cs
- TypeListConverter.cs
- EntityProviderServices.cs
- SQLDoubleStorage.cs
- GetWorkflowTree.cs
- WebPartZoneCollection.cs
- RectangleHotSpot.cs
- TCPListener.cs
- DependencyObjectProvider.cs
- AddInActivator.cs
- ProviderConnectionPoint.cs
- KeyedCollection.cs
- KeysConverter.cs
- ProcessModuleCollection.cs
- DataGridViewCellStyleConverter.cs