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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.