AttributeCollection.Item Property (Type)
Gets the attribute with the specified type.
Assembly: System (in System.dll)
abstract Item : attributeType:Type -> Attribute with get override Item : attributeType:Type -> Attribute with get
The following code example gets the DesignerAttribute from the collection and prints its value. It assumes that button1 and textBox1 have been created on a form.
For this code example to run, you must provide the fully qualified assembly name. For information about how to obtain the fully qualified assembly name, see Assembly Names.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.