Share via


VsValidationContext.GetDiagramNavigationCommands Method

Override to supply one or more diagram navigation commands for the referenced elements.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Protected Overridable Function GetDiagramNavigationCommands ( _
    referencedModelElements As IList(Of ModelElement) _
) As IList(Of TaskMenuCommand)
protected virtual IList<TaskMenuCommand> GetDiagramNavigationCommands(
    IList<ModelElement> referencedModelElements
)
protected:
virtual IList<TaskMenuCommand^>^ GetDiagramNavigationCommands(
    IList<ModelElement^>^ referencedModelElements
)
abstract GetDiagramNavigationCommands : 
        referencedModelElements:IList<ModelElement> -> IList<TaskMenuCommand> 
override GetDiagramNavigationCommands : 
        referencedModelElements:IList<ModelElement> -> IList<TaskMenuCommand> 
protected function GetDiagramNavigationCommands(
    referencedModelElements : IList<ModelElement>
) : IList<TaskMenuCommand>

Parameters

Return Value

Type: IList<TaskMenuCommand>

.NET Framework Security

See Also

Reference

VsValidationContext Class

Microsoft.VisualStudio.Modeling.Shell Namespace