MenuItem Constructor

 

Initializes a new instance of the MenuItem class.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodMenuItem()

Initializes a new instance of the MenuItem class without menu text or a value.

System_CAPS_pubmethodMenuItem(String^)

Initializes a new instance of the MenuItem class using the specified menu text.

System_CAPS_pubmethodMenuItem(String^, String^)

Initializes a new instance of the MenuItem class using the specified menu text and value.

System_CAPS_pubmethodMenuItem(String^, String^, String^)

Initializes a new instance of the MenuItem class using the specified menu text, value, and URL to an image.

System_CAPS_pubmethodMenuItem(String^, String^, String^, String^)

Initializes a new instance of the MenuItem class using the specified menu text, value, image URL, and navigation URL.

System_CAPS_pubmethodMenuItem(String^, String^, String^, String^, String^)

Initializes a new instance of the MenuItem class using the specified menu text, value, image URL, navigation URL, and target.

Return to top
Show: