ConsoleAction.NavigateUrl property

Gets the href value of a ConsoleAction object.

Namespace:  Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Overridable Property NavigateUrl As String
    Get
    Set
'Usage
Dim instance As ConsoleAction
Dim value As String

value = instance.NavigateUrl

instance.NavigateUrl = value
public virtual string NavigateUrl { get; set; }

Property value

Type: System.String
Either a URL for navigation or ECMAScript that runs when a user clicks the ConsoleAction object.

Remarks

When a user clicks a ConsoleAction object on the page, this property determines how the Web browser responds. If the property specifies a conventional URL, the user is directed to the page located by that URL. If the property specifies JavaScript, the Web browser executes the script. For example, the script executed can include script to post back to the same action for the purpose of saving the current page.

See also

Reference

ConsoleAction class

ConsoleAction members

Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions namespace