StyleCollection.Add(Style) Method
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.
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
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
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.