LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
Item Property
See Also 
Leadtools.Multimedia Namespace > CaptureSizes Class : Item Property



index
The zero-based index of the item to get.
Gets the CaptureSize item at the specified index.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Default Property Item( _
   ByVal index As Integer _
) As CaptureSize
Visual Basic (Usage)Copy Code
Dim instance As CaptureSizes
Dim index As Integer
Dim value As CaptureSize
 
value = instance.Item(index)
C# 
public CaptureSize this( 
   int index
) {get;}
C++/CLI 
public:
property CaptureSize^ default [int] {
   CaptureSize^ get(int index);
}

Parameters

index
The zero-based index of the item to get.

Property Value

The CaptureSize item at the specified index.

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeException 

Remarks

This property provides the ability to access a specific item in the collection by using the following syntax: myCollection[index]. The C# language uses this keyword to define the indexers instead of implementing the Item property. Visual Basic implements Item as a default property, which provides the same indexing functionality.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also