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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.