Redigera

Dela via


StyleCollection.Item[Int32] Property

Definition

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.

Applies to

See also