StyleCollection.Insert(Int32, Style) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定 Style 对象插入 StyleCollection 指定索引位置。
public:
void Insert(int index, System::Web::UI::WebControls::Style ^ style);
public void Insert(int index, System.Web.UI.WebControls.Style style);
member this.Insert : int * System.Web.UI.WebControls.Style -> unit
Public Sub Insert (index As Integer, style As Style)
参数
注解
使用该方法将 Insert 指定 Style 对象插入到 StyleCollection 指定索引位置的对象中。
若要在对象末尾Style添加StyleCollection对象,请使用Add该方法。