ComponentDesigner::ShadowPropertyCollection::Item Property (String^)
.NET Framework (current version)
Gets or sets the object at the specified index.
Assembly: System.Design (in System.Design.dll)
public: property Object^ default[ String^ propertyName ] { Object^ get(String^ propertyName); void set(String^ propertyName, Object^ value); }
Parameters
- propertyName
-
Type:
System::String^
The name of the property to access in the collection.
Property Value
Type: System::Object^The value of the specified property, if it exists in the collection. Otherwise, the value is retrieved from the current value of the nonshadowed property.
This method returns the current value of a property, if the property has not been shadowed. Therefore, it is important to determine whether the property is shadowed by calling Contains.
.NET Framework
Available since 1.1
Available since 1.1
Show: