Compartir a través de


: HtmlMenuItem.Text (Propiedad) (Microsoft.SharePoint.Portal.WebControls)

Gets or sets the text contained in the menu item link.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
Public Property Text As String
'Uso
Dim instance As HtmlMenuItem
Dim value As String

value = instance.Text

instance.Text = value
public string Text { get; set; }

Valor de propiedad

A string that represents the text contained in the menu item link.

Comentarios

If the Separator property is true, the Text, TargetURL, and ImageURL properties are not used.

Vea también

Referencia

HtmlMenuItem (Clase)
HtmlMenuItem (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)