ComponentCollection::Item Property (String^)
.NET Framework (current version)
Gets any component in the collection matching the specified name.
Assembly: System (in System.dll)
public: property IComponent^ default[ String^ name ] { virtual IComponent^ get(String^ name); }
Parameters
- name
-
Type:
System::String^
The name of the IComponent to get.
Property Value
Type: System.ComponentModel::IComponent^A component with a name matching the name specified by the name parameter, or null if the named component cannot be found in the collection.
This method can be overridden by a derived class.
This property returns an IComponent in the collection if its Site property is not null and the Name property of its Site property matches the specified string.
.NET Framework
Available since 1.1
Available since 1.1
Show:
