ListViewItem(ListViewItemType) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ListViewItem class.
public:
ListViewItem(System::Web::UI::WebControls::ListViewItemType itemType);
public ListViewItem (System.Web.UI.WebControls.ListViewItemType itemType);
new System.Web.UI.WebControls.ListViewItem : System.Web.UI.WebControls.ListViewItemType -> System.Web.UI.WebControls.ListViewItem
Public Sub New (itemType As ListViewItemType)
Parameters
- itemType
- ListViewItemType
One of the ListViewItemType enumeration values.
Remarks
Use this constructor to initialize a new instance of a ListViewItem object.
The following table shows initial property values for an instance of the ListViewItem class.
Property | Initial value |
---|---|
ItemType | The value of the itemType parameter. |
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.