asp.net.ph

MenuItem Constructor ( String )

System.Web.UI.WebControls Namespace   MenuItem Class


.NET Framework version 2.0

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

[ VB ]
Overloads Public Sub New ( _
   ByVal text As String _
)

[ C# ]
public MenuItem (
   string text
);

[ C++ ]
public: MenuItem (
   String* text
);

[ JScript ]
public function MenuItem (
   text : String
);

Parameters

text
The text to display for the MenuItem.

Remarks

Use this constructor to initialize a new instance of the MenuItem class using the specified menu text.

The following table shows initial property values for an instance of MenuItem.

Property Initial Value
Text The value of the text parameter.

See Also

MenuItem Members   MenuItem Constructor Overload List Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note