WebPartDisplayModeCollection.Insert(Int32, WebPartDisplayMode) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 WebPartDisplayMode 对象插入集合中的指定索引位置。
public:
void Insert(int index, System::Web::UI::WebControls::WebParts::WebPartDisplayMode ^ value);
public void Insert(int index, System.Web.UI.WebControls.WebParts.WebPartDisplayMode value);
member this.Insert : int * System.Web.UI.WebControls.WebParts.WebPartDisplayMode -> unit
Public Sub Insert (index As Integer, value As WebPartDisplayMode)
参数
- index
- Int32
一个整数,指示集合中应插入序 WebPartDisplayMode 号位置的整数。
- value
- WebPartDisplayMode
要插入到集合中的 A WebPartDisplayMode 。
注解
如果 index 等于集合中的项数,则将 value 追加到集合的末尾。