Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

Item Property, PartsCollectionClass Class

Returns the part at the specified index in the parts collection.

Class: PartsCollectionClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET

Syntax

public GenericPartClass this[ int index ] { get; }
Public Default ReadOnly Property Item( ByVal index As Integer ) As GenericPartClass

The Item property is the indexer of the PartsCollectionClass class, so languages supporting indexers can use array syntax, usually [] or (), to access the Item property.

Value

The part.

Comments

Returns the part at the specified index in the parts collection.

The returned part object of type GenericPartClass can be cast to the specific type to retrieve all attributes of a specific part.

See Also PartsCollectionClass Class | Classes | SftTree/NET 2.0