GrapeCity MultiRow Windows Forms Documentation
Item Property (NamedObjectCollection<T>)


The item's name.
Gets or sets the element with the specified name.
Syntax
Public Overridable Shadows Default Property Item( _
   ByVal name As String _
) As T
Dim instance As NamedObjectCollection(Of T)
Dim name As String
Dim value As T
 
instance.Item(name) = value
 
value = instance.Item(name)
public virtual new T this[ 
   string name
]; {get; set;}

Parameters

name
The item's name.

Property Value

An INamedObject value that indicates the specified item.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe assigned value is a null reference (Nothing in Visual Basic).
System.ArgumentExceptionThe item associated with the name cannot be found.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NamedObjectCollection<T> Class
NamedObjectCollection<T> Members

 

 


Copyright © GrapeCity, inc. All rights reserved.