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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.