編輯

共用方式為


SubMenuStyleCollection.Item[Int32] Property

Definition

Gets a reference to the SubMenuStyle object at the specified index in the SubMenuStyleCollection collection object.

public:
 property System::Web::UI::WebControls::SubMenuStyle ^ default[int] { System::Web::UI::WebControls::SubMenuStyle ^ get(int i); void set(int i, System::Web::UI::WebControls::SubMenuStyle ^ value); };
public System.Web.UI.WebControls.SubMenuStyle this[int i] { get; set; }
member this.Item(int) : System.Web.UI.WebControls.SubMenuStyle with get, set
Default Public Property Item(i As Integer) As SubMenuStyle

Parameters

i
Int32

The location of the SubMenuStyle object in the SubMenuStyleCollection collection.

Property Value

A reference to the SubMenuStyle object.

Exceptions

The index parameter is less than zero or greater than or equal to the Count property value.

Applies to