Uredi

Deli z drugimi prek


StyleCollection.Add(Style) Method

Definition

Appends a specified Style object to the end of the StyleCollection object.

public:
 int Add(System::Web::UI::WebControls::Style ^ style);
public int Add (System.Web.UI.WebControls.Style style);
member this.Add : System.Web.UI.WebControls.Style -> int
Public Function Add (style As Style) As Integer

Parameters

style
Style

The Style object to add to the collection.

Returns

The index at which the style was added to the collection.

Remarks

Use the Add method to append the specified Style object to the end of the StyleCollection object.

To add a Style object to the collection at a specific index location, use the Insert method.

Applies to

See also