LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Item Property
See Also 
Leadtools Namespace > RasterCollection<T> 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 indexT^ value);
}

Parameters

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

Property Value

The item at the specified index.

Example

For an example, refer to RasterCollection<T>.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also