Item Property

Summary

Gets the Renderer item with the specified name.

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

Parameters

name
The string index of the item to get.

Property Value

The Renderer item with the specified name.

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.
System.NullReferenceExceptionThe exception that is thrown when there is an attempt to dereference a null object reference.

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.Multimedia Assembly