MenuAction Constructor
Initializes a new instance of the MenuAction class.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
displayName As String _
)
public MenuAction(
string displayName
)
public:
MenuAction(
String^ displayName
)
new :
displayName:string -> MenuAction
public function MenuAction(
displayName : String
)
Parameters
- displayName
Type: System.String
The text that appears in the context menu.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace
PrimarySelectionContextMenuProvider