Skip to end of metadata
Go to start of metadata

A collection of WebTreeViewNode.

Definition

public class WebTreeViewNodeCollection : ISCollectionBase, ISerializable

Summary

The following table summarizes the members exposed in this class.

Public Constructors

WebTreeViewNodeCollection Constructor() Initializes a new instance of the WebTreeViewNodeCollection class.

Public Properties

IsReadOnly Returns a Boolean value indicating whether the collection is read-only.
this[int]

Public Methods

Add(WebTreeViewNode) Adds a new node to a WebTreeViewNodeBindingCollection instance with WebTreeViewNode parameter as its name.
Add(string) Adds a new node to a WebTreeViewNodeBindingCollection instance with String parameter as its name.
Clear() Removes all WebTreeViewNode objects from the collection.
CopyFrom(WebTreeViewNodeCollection)
GetEnumerator() Returns an enumerator object for the collection.
GetNamedItem(string) Property indexer for the collection. Uses the Name string to return an WebTreeViewNode object.
GetObjectData(SerializationInfo, StreamingContext)
Insert(int, WebTreeViewNode) Inserts a WebTreeViewNode object into the WebTreeViewNode collection at a specified index.
Remove(WebTreeViewNode) Removes the specified WebTreeViewNode object from the collection.

Protected Methods

OnInsertComplete(int, object)
RemoveAt(int) Removes the WebTreeViewNode object at the specified index from the collection.

Public Constructors

public WebTreeViewNodeCollection()

Public Properties

public bool IsReadOnly { get; }

Returns a Boolean value indicating whether the collection is read-only.

public WebTreeViewNode this[int index] { get; set; }

Parameters

index

Public Methods

public int Add(WebTreeViewNode node)

Adds a new node to a WebTreeViewNodeBindingCollection instance with WebTreeViewNode parameter as its name.

Parameters

node The WebTreeViewNode object to be added.

Return Types

The index of the newly added node.

public int Add(string name)

Adds a new node to a WebTreeViewNodeBindingCollection instance with String parameter as its name.

Parameters

name The unique Name value.

Return Types

The index of the newly-added node object within the collection.

public void Clear()

Removes all WebTreeViewNode objects from the collection.

Parameters

passIn

public IEnumerator GetEnumerator()

Returns an enumerator object for the collection.

public WebTreeViewNode GetNamedItem(string name)

Property indexer for the collection. Uses the Name string to return an WebTreeViewNode object.

Parameters

name

public void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info
context

public void Insert(int index, WebTreeViewNode node)

Inserts a WebTreeViewNode object into the WebTreeViewNode collection at a specified index.

Parameters

index The position in the collection for the new WebTreeViewNode.
node The WebTreeViewNode object to be inserted into the collection.

public void Remove(WebTreeViewNode node)

Removes the specified WebTreeViewNode object from the collection.

Parameters

node The WebTreeViewNode object to be removed from the collection.

Protected Methods

protected void OnInsertComplete(int index, object value)

Parameters

index
value

protected void RemoveAt(int index)

Removes the WebTreeViewNode object at the specified index from the collection.

Parameters

index The index of the WebTreeViewNode object to be removed.
  • No labels