Item Property

Summary

Gets the Renderer item at the specified index.

Syntax
C#
VB
C++
public Renderer Item( 
   int index 
) { get; } 
Public Overloads ReadOnly Property Item( _ 
   ByVal index As Integer _ 
) As Renderer 
public: 
property Renderer^ Item { 
   Renderer^ get(int index); 
} 

Parameters

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

Property Value

The Renderer item at the specified index.

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeExceptionThe exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.

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 the this keyword to define the indexers instead of implementing the Item property. VB implements Item as a default property, which provides the same indexing functionality.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly