Edytuj

Udostępnij za pośrednictwem


DataListItem.SetItemType(ListItemType) Method

Definition

Sets the current ItemType property for the DataListItem control.

protected public:
 virtual void SetItemType(System::Web::UI::WebControls::ListItemType itemType);
protected internal virtual void SetItemType (System.Web.UI.WebControls.ListItemType itemType);
abstract member SetItemType : System.Web.UI.WebControls.ListItemType -> unit
override this.SetItemType : System.Web.UI.WebControls.ListItemType -> unit
Protected Friend Overridable Sub SetItemType (itemType As ListItemType)

Parameters

itemType
ListItemType

A ListItemType value.

Remarks

This method is used primarily by control developers when extending the functionality of a DataListItem control.

Applies to

See also