Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Item Property
See Also 
Leadtools Namespace > Generic RasterCollection Class : Item Property



index
The zero-based index of the element to get or set.
Gets and sets the item at the specified index from within the collection.

Syntax

Visual Basic (Declaration)  
Public Overridable Default Property Item( _
   ByVal index As Integer _
) As T
Visual Basic (Usage) Copy Code
Dim instance As RasterCollection(Of T)
Dim index As Integer
Dim value As T
 
instance.Item(index) = value
 
value = instance.Item(index)
C#  
public virtual T this[ 
   int index
]; {get; set;}
C++/CLI  
public:
virtual property T default [int] {
   T get(int index);
   void set (int index, T value);
}

Parameters

index
The zero-based index of the element to get or set.

Return Value

The item at the specified index.

Example

For an example, refer to Generic RasterCollection.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also