다음을 통해 공유


ConsoleNode.Action Property

Gets or sets the ConsoleAction object that corresponds to this ConsoleNode object.

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

Syntax

'Declaration
Public Overridable Property Action As ConsoleAction
    Get
    Set
'Usage
Dim instance As ConsoleNode
Dim value As ConsoleAction

value = instance.Action

instance.Action = value
public virtual ConsoleAction Action { get; set; }

Property Value

Type: Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions.ConsoleAction
The ConsoleAction object that corresponds to this ConsoleNode object.

Remarks

Use this property to associate a ConsoleAction object with a ConsoleNode object to include this ConsoleAction in the user interface. When a ConsoleAction is referenced, the following properties of the ConsoleAction propagate to the ConsoleNode properties with the same names:

See Also

Reference

ConsoleNode Class

ConsoleNode Members

Microsoft.SharePoint.Publishing.WebControls Namespace