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
- SqlCommandBuilder.cs
- MetadataImporter.cs
- XPathNavigatorKeyComparer.cs
- MetadataFile.cs
- DNS.cs
- DataGridViewCellStyle.cs
- EncoderParameter.cs
- VisualStyleInformation.cs
- RbTree.cs
- ApplyImportsAction.cs
- PolyLineSegment.cs
- StoreContentChangedEventArgs.cs
- QilFunction.cs
- FontStretches.cs
- BinaryUtilClasses.cs
- EditingCoordinator.cs
- Asn1IntegerConverter.cs
- ServiceOperation.cs
- RemoteEndpointMessageProperty.cs
- LinkArea.cs
- DBSqlParser.cs
- CommonXSendMessage.cs
- WindowsFormsHostAutomationPeer.cs
- Base64Stream.cs
- KeyBinding.cs
- ReadOnlyPermissionSet.cs
- InkCanvasFeedbackAdorner.cs
- ObjectStateManager.cs
- ProvideValueServiceProvider.cs
- DragCompletedEventArgs.cs
- DrawingContextWalker.cs
- TextReader.cs
- TcpChannelHelper.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- UdpContractFilterBehavior.cs
- CapabilitiesRule.cs
- IndexExpression.cs
- EventlogProvider.cs
- COMException.cs
- FileVersionInfo.cs
- HtmlInputReset.cs
- ClientConfigurationHost.cs
- EventlogProvider.cs
- ScrollItemProviderWrapper.cs
- WebUtil.cs
- Image.cs
- RowVisual.cs
- MetadataArtifactLoaderResource.cs
- JsonWriterDelegator.cs
- AttributeData.cs
- TrustManager.cs
- DurationConverter.cs
- XamlClipboardData.cs
- AssemblyBuilder.cs
- UTF7Encoding.cs
- DbMetaDataColumnNames.cs
- FontUnit.cs
- HorizontalAlignConverter.cs
- KeyValuePairs.cs
- IListConverters.cs
- ThaiBuddhistCalendar.cs
- BatchStream.cs
- ComEventsMethod.cs
- TextFormatterImp.cs
- SmtpDigestAuthenticationModule.cs
- DependencyObjectType.cs
- IsolatedStorageFileStream.cs
- StructuralCache.cs
- KeyValuePair.cs
- WorkflowRuntimeServiceElementCollection.cs
- TextTreeUndoUnit.cs
- UseAttributeSetsAction.cs
- TaskFileService.cs
- WindowsGraphics2.cs
- AssemblyName.cs
- MetadataItemEmitter.cs
- ManualResetEvent.cs
- PropertyDescriptorComparer.cs
- FileReservationCollection.cs
- ControlAdapter.cs
- CryptoStream.cs
- Registration.cs
- FieldDescriptor.cs
- ChangePassword.cs
- CorePropertiesFilter.cs
- SmiMetaDataProperty.cs
- Polygon.cs
- FixedSOMPageElement.cs
- QuestionEventArgs.cs
- OperatorExpressions.cs
- TableCell.cs
- DataSetUtil.cs
- ReplacementText.cs
- DbSourceParameterCollection.cs
- TextBoxBase.cs
- ProfileBuildProvider.cs
- ViewStateModeByIdAttribute.cs
- OdbcCommandBuilder.cs
- HebrewNumber.cs
- AssemblyNameProxy.cs