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
- InternalEnumValidatorAttribute.cs
- FontWeight.cs
- DataServiceClientException.cs
- Section.cs
- AutomationPropertyInfo.cs
- XamlSerializerUtil.cs
- UriPrefixTable.cs
- AuthenticationService.cs
- TextRangeEditLists.cs
- _NegoStream.cs
- SecurityTokenProvider.cs
- TreeViewEvent.cs
- ChangeBlockUndoRecord.cs
- ReachDocumentReferenceSerializer.cs
- ClientScriptItemCollection.cs
- FixedElement.cs
- ListContractAdapter.cs
- TranslateTransform3D.cs
- DataServiceContext.cs
- StructuralObject.cs
- InstanceCreationEditor.cs
- PageThemeBuildProvider.cs
- AffineTransform3D.cs
- cookiecontainer.cs
- StringAnimationBase.cs
- StorageComplexPropertyMapping.cs
- ISSmlParser.cs
- LocationReference.cs
- WindowHideOrCloseTracker.cs
- SiteMapDataSource.cs
- StrokeNodeEnumerator.cs
- XamlStream.cs
- ImageSource.cs
- GatewayIPAddressInformationCollection.cs
- MarshalByValueComponent.cs
- RbTree.cs
- DodSequenceMerge.cs
- GPRECT.cs
- DataColumnCollection.cs
- OciLobLocator.cs
- ScalarType.cs
- RadioButtonRenderer.cs
- Profiler.cs
- CompilationRelaxations.cs
- EndEvent.cs
- PhonemeEventArgs.cs
- EmptyElement.cs
- EditorZoneAutoFormat.cs
- FileUtil.cs
- MissingManifestResourceException.cs
- XsltLibrary.cs
- RsaSecurityToken.cs
- EventItfInfo.cs
- XMLDiffLoader.cs
- ImageFormatConverter.cs
- XmlSchemaType.cs
- ConfigPathUtility.cs
- InteropAutomationProvider.cs
- GenerateScriptTypeAttribute.cs
- IItemContainerGenerator.cs
- MessageBox.cs
- XmlIncludeAttribute.cs
- DbMetaDataColumnNames.cs
- listitem.cs
- SqlUserDefinedTypeAttribute.cs
- DocumentViewerHelper.cs
- EventLogRecord.cs
- HitTestWithGeometryDrawingContextWalker.cs
- RuntimeArgumentHandle.cs
- ResourcesChangeInfo.cs
- DSACryptoServiceProvider.cs
- TextParaLineResult.cs
- DbConnectionStringCommon.cs
- DateTimePicker.cs
- HopperCache.cs
- SqlLiftWhereClauses.cs
- ToolBar.cs
- sqlser.cs
- SecurityHelper.cs
- PropertyGridCommands.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- WorkflowInstanceQuery.cs
- PersonalizationStateInfo.cs
- StateBag.cs
- IntAverageAggregationOperator.cs
- GenericIdentity.cs
- TemplateComponentConnector.cs
- UInt64Converter.cs
- AspNetSynchronizationContext.cs
- PreviewPageInfo.cs
- VectorValueSerializer.cs
- Rule.cs
- ConfigXmlComment.cs
- RecordManager.cs
- UrlAuthFailedErrorFormatter.cs
- GraphicsState.cs
- SecurityKeyUsage.cs
- FastEncoder.cs
- MDIWindowDialog.cs
- GPStream.cs