Gets or sets the element with the specified name.
Public Overridable Shadows Default Property Item( _
ByVal As String _
) As
Dim instance As NamedObjectCollection(Of T)
Dim name As String
Dim value As
instance.Item(name) = value
value = instance.Item(name)
public virtual new this[
string
]; {get; set;}
Parameters
- name
- The item's name.
Property Value
An
INamedObject value that indicates the specified item.
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