skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class XmlSelectorCollection

A collection that stores XmlElementSelector objects.

Inheritance
System.Object
System.Collections.CollectionBase
XmlSelectorCollection
Inherited Members
System.Collections.CollectionBase.Clear()
System.Collections.CollectionBase.RemoveAt(System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
System.Collections.CollectionBase.OnClear()
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
System.Collections.CollectionBase.OnValidate(System.Object)
System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
System.Collections.CollectionBase.OnClearComplete()
System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll

Syntax

public class XmlSelectorCollection : CollectionBase, IList, ICollection, IEnumerable

Constructors

XmlSelectorCollection()

Initializes a new instance of XmlSelectorCollection.

Declaration
public XmlSelectorCollection()

XmlSelectorCollection(Int32)

Initializes a new instance of XmlSelectorCollection.

Declaration
public XmlSelectorCollection(int capacity)
Parameters
System.Int32 capacity

XmlSelectorCollection(XmlElementSelector[])

Initializes a new instance of XmlSelectorCollection containing any array of XmlElementSelector objects.

Declaration
public XmlSelectorCollection(XmlElementSelector[] value)
Parameters
XmlElementSelector[] value

A array of XmlElementSelector objects with which to intialize the collection

XmlSelectorCollection(XmlSelectorCollection)

Initializes a new instance of XmlSelectorCollection based on another XmlSelectorCollection.

Declaration
public XmlSelectorCollection(XmlSelectorCollection value)
Parameters
XmlSelectorCollection value

A XmlSelectorCollection from which the contents are copied

Properties

Item[Int32]

Represents the entry at the specified index of the XmlElementSelector.

Declaration
public XmlElementSelector this[int index] { get; set; }
Parameters
System.Int32 index

The zero-based index of the entry to locate in the collection.

Property Value
XmlElementSelector

The entry at the specified index of the collection.

Exceptions
System.ArgumentOutOfRangeException

index is outside the valid range of indexes for the collection.

Methods

Add(XmlElementSelector)

Adds a XmlElementSelector with the specified value to the XmlSelectorCollection .

Declaration
public int Add(XmlElementSelector value)
Parameters
XmlElementSelector value

The XmlElementSelector to add.

Returns
System.Int32

The index at which the new element was inserted.

AddRange(XmlElementSelector[])

Copies the elements of an array to the end of the XmlSelectorCollection.

Declaration
public void AddRange(XmlElementSelector[] value)
Parameters
XmlElementSelector[] value

An array of type XmlElementSelector containing the objects to add to the collection.

AddRange(XmlSelectorCollection)

Adds the contents of another XmlSelectorCollection to the end of the collection.

Declaration
public void AddRange(XmlSelectorCollection value)
Parameters
XmlSelectorCollection value

A XmlSelectorCollection containing the objects to add to the collection.

Contains(XmlElementSelector)

Gets a value indicating whether the XmlSelectorCollection contains the specified XmlElementSelector.

Declaration
public bool Contains(XmlElementSelector value)
Parameters
XmlElementSelector value

The XmlElementSelector to locate.

Returns
System.Boolean

true if the XmlElementSelector is contained in the collection; otherwise, false.

CopyTo(XmlElementSelector[], Int32)

Copies the XmlSelectorCollection values to a one-dimensional System.Array instance at the specified index.

Declaration
public void CopyTo(XmlElementSelector[] array, int index)
Parameters
XmlElementSelector[] array

The one-dimensional System.Array that is the destination of the values copied from XmlSelectorCollection .

System.Int32 index

The index in array where copying begins.

Exceptions
System.ArgumentException

array is multidimensional.

-or-

The number of elements in the XmlSelectorCollection is greater than the available space between index and the end of array.

System.ArgumentNullException

array is null.

System.ArgumentOutOfRangeException

index is less than array's lowbound.

GetEnumerator()

Returns an enumerator that can iterate through the XmlSelectorCollection .

Declaration
public XmlSelectorCollection.XmlSelectorEnumerator GetEnumerator()
Returns
XmlSelectorCollection.XmlSelectorEnumerator

None.

IndexOf(XmlElementSelector)

Returns the index of a XmlElementSelector in the XmlSelectorCollection .

Declaration
public int IndexOf(XmlElementSelector value)
Parameters
XmlElementSelector value

The XmlElementSelector to locate.

Returns
System.Int32

The index of the XmlElementSelector of value in the XmlSelectorCollection, if found; otherwise, -1.

Insert(Int32, XmlElementSelector)

Inserts a XmlElementSelector into the XmlSelectorCollection at the specified index.

Declaration
public void Insert(int index, XmlElementSelector value)
Parameters
System.Int32 index

The zero-based index where value should be inserted.

XmlElementSelector value

The XmlElementSelector to insert.

Remove(XmlElementSelector)

Removes a specific XmlElementSelector from the XmlSelectorCollection .

Declaration
public void Remove(XmlElementSelector value)
Parameters
XmlElementSelector value

The XmlElementSelector to remove from the XmlSelectorCollection .

Exceptions
System.ArgumentException

value is not found in the Collection.

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.