Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to v2.
Gets the context menu items for the specified editor and position.
Namespace: Microsoft.WebMatrix.Extensibility.Editor
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Function GetMenuItems ( _
editor As IEditor, _
position As Nullable(Of Integer) _
) As IEnumerable(Of Object)
'Usage
Dim instance As IEditorContextMenuProvider
Dim editor As IEditor
Dim position As Nullable(Of Integer)
Dim returnValue As IEnumerable(Of Object)
returnValue = instance.GetMenuItems(editor, _
position)
IEnumerable<Object> GetMenuItems(
IEditor editor,
Nullable<int> position
)
IEnumerable<Object^>^ GetMenuItems(
IEditor^ editor,
Nullable<int> position
)
abstract GetMenuItems :
editor:IEditor *
position:Nullable<int> -> IEnumerable<Object>
function GetMenuItems(
editor : IEditor,
position : Nullable<int>
) : IEnumerable<Object>
Parameters
editor
Type: Microsoft.WebMatrix.Extensibility.Editor.IEditorThe editor.
position
Type: System.Nullable<Int32>The position.
Return Value
Type: System.Collections.Generic.IEnumerable<Object>
The context menu items for the specified editor and position.