Class BookmarksCollection
Represents a class that contains the read-only copy for bookmarks collection.
Implements
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Edit.Utils
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class BookmarksCollection : ICollection, IEnumerable
Constructors
BookmarksCollection(IList)
Initializes a new instance of the BookmarksCollection class.
Declaration
protected BookmarksCollection(IList baseCollection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IList | baseCollection | Base Collection of bookmarks. |
Properties
Count
Gets the count of the bookmarks.
Declaration
public int Count { get; }
Property Value
Type |
---|
System.Int32 |
Item[Int32]
Gets the bookmark by the index in collection.
Declaration
public IBookmark this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
IBookmark |
Methods
CopyTo(Array, Int32)
Copies items to the specified array.
Declaration
public void CopyTo(Array array, int index)
Parameters
Type | Name | Description |
---|---|---|
System.Array | array | Array that will contain copy of the collection. |
System.Int32 | index | Item of the first item in array. |
GetEnumerator()
Gets the enumerator for the collection items.
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | IEnumerator. |
Explicit Interface Implementations
ICollection.IsSynchronized
Gets value indication whether collection is synchronized. Always returns false.
Declaration
bool ICollection.IsSynchronized { get; }
Returns
Type |
---|
System.Boolean |
ICollection.SyncRoot
Gets syncroot of the collection.
Declaration
object ICollection.SyncRoot { get; }
Returns
Type |
---|
System.Object |
Implements
System.Collections.ICollection
System.Collections.IEnumerable