RadioButtonList.IRepeatInfoUser.RenderItem(ListItemType, Int32, RepeatInfo, HtmlTextWriter) Método

Definição

Renderiza um item na lista com as informações especificadas.Renders an item in the list with the specified information.

 virtual void System.Web.UI.WebControls.IRepeatInfoUser.RenderItem(System::Web::UI::WebControls::ListItemType itemType, int repeatIndex, System::Web::UI::WebControls::RepeatInfo ^ repeatInfo, System::Web::UI::HtmlTextWriter ^ writer) = System::Web::UI::WebControls::IRepeatInfoUser::RenderItem;
void IRepeatInfoUser.RenderItem (System.Web.UI.WebControls.ListItemType itemType, int repeatIndex, System.Web.UI.WebControls.RepeatInfo repeatInfo, System.Web.UI.HtmlTextWriter writer);
abstract member System.Web.UI.WebControls.IRepeatInfoUser.RenderItem : System.Web.UI.WebControls.ListItemType * int * System.Web.UI.WebControls.RepeatInfo * System.Web.UI.HtmlTextWriter -> unit
override this.System.Web.UI.WebControls.IRepeatInfoUser.RenderItem : System.Web.UI.WebControls.ListItemType * int * System.Web.UI.WebControls.RepeatInfo * System.Web.UI.HtmlTextWriter -> unit
Sub RenderItem (itemType As ListItemType, repeatIndex As Integer, repeatInfo As RepeatInfo, writer As HtmlTextWriter) Implements IRepeatInfoUser.RenderItem

Parâmetros

itemType
ListItemType

Um dos valores de enumeração ListItemType.One of the ListItemType enumeration values.

repeatIndex
Int32

Um índice ordinal que especifica o local do item na lista.An ordinal index that specifies the location of the item in the list.

repeatInfo
RepeatInfo

Um RepeatInfo que representa as informações usadas para renderizar o item na lista.A RepeatInfo that represents the information used to render the item in the list.

writer
HtmlTextWriter

Um HtmlTextWriter que representa o fluxo de saída para renderizar o conteúdo HTML no cliente.A HtmlTextWriter that represents the output stream to render HTML content on the client.

Implementações

Comentários

Normalmente, você deve usar o RadioButtonList.RenderItem método para renderizar itens em um RadioButtonList controle.Typically, you should use the RadioButtonList.RenderItem method to render items in a RadioButtonList control.

O IRepeatInfoUser.RenderItem método é uma implementação de membro de interface explícita.The IRepeatInfoUser.RenderItem method is an explicit interface member implementation. Ele só pode ser usado quando a instância de RadioButtonList é convertida em uma interface de IRepeatInfoUser.It can be used only when the RadioButtonList instance is cast to an IRepeatInfoUser interface.

Notas aos Herdeiros

Para definir uma implementação personalizada para renderizar itens em um RadioButtonList controle, substitua o RenderItem(ListItemType, Int32, RepeatInfo, HtmlTextWriter) método.To define a custom implementation for rendering items in a RadioButtonList control, override the RenderItem(ListItemType, Int32, RepeatInfo, HtmlTextWriter) method. A implementação de interface explícita chama o RenderItem(ListItemType, Int32, RepeatInfo, HtmlTextWriter) método para renderizar um item no controle.The explicit interface implementation calls the RenderItem(ListItemType, Int32, RepeatInfo, HtmlTextWriter) method to render an item in the control.

Aplica-se a

Confira também