WebPartDisplayModeCollection.Insert(Int32, WebPartDisplayMode) Método

Definição

Insere um objeto WebPartDisplayMode na coleção na posição de índice especificada.Inserts a WebPartDisplayMode object into the collection at the specified index position.

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)

Parâmetros

index
Int32

Um inteiro que indica a posição ordinal na coleção na qual um WebPartDisplayMode deve ser inserido.An integer indicating the ordinal position in the collection at which a WebPartDisplayMode should be inserted.

value
WebPartDisplayMode

Um WebPartDisplayMode a ser inserido na coleção.A WebPartDisplayMode to insert into the collection.

Comentários

Se for index igual ao número de itens na coleção, value será anexado ao final da coleção.If index equals the number of items in the collection, then value is appended to the end of the collection.

Aplica-se a

Confira também