Softelvdm.Controls Class Library for Windows Controls 1.0

Item Property, PartsCollectionClass Class

Softel vdm, Inc.

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

Syntax      PartsCollectionClass Class (Softelvdm.Controls)

VB   

Public Default ReadOnly Property Item( ByVal index As Integer ) As GenericPartClass

C#   

public GenericPartClass this[ int index ] { get; }

C++   

public: property GenericPartClass^ this[ int ] {
        GenericPartClass^ get(int index);
}

index

The zero-based index of the part to be retrieved.

Property Value

The part.

Comments

The Item property 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.

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.

Version Information

Supported in version 1.0.
Products Table


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com