StyleCollection.Item[Int32] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Style object at the specified index location in the StyleCollection object.
public:
property System::Web::UI::WebControls::Style ^ default[int] { System::Web::UI::WebControls::Style ^ get(int i); void set(int i, System::Web::UI::WebControls::Style ^ value); };
public System.Web.UI.WebControls.Style this[int i] { get; set; }
member this.Item(int) : System.Web.UI.WebControls.Style with get, set
Default Public Property Item(i As Integer) As Style
Parameters
- i
- Int32
The zero-based index location of the Style object in the StyleCollection.
Property Value
A Style object at the specified index in the StyleCollection.
Remarks
Use this indexer to access a Style object from the StyleCollection at the specified index, using simple array notation. The indexer allows you to modify or replace a Style object in the collection directly.