Partager via


VsValidationContext.GetNavigationCommands Method

Full list of navigation commands for this validation message. Default implementation concatentates the DiagramNavigateCommands with the ExplorerNavigateCommand.

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

Syntax

'Declaration
Protected Overridable Function GetNavigationCommands ( _
    message As ValidationMessage _
) As IList(Of TaskMenuCommand)
protected virtual IList<TaskMenuCommand> GetNavigationCommands(
    ValidationMessage message
)
protected:
virtual IList<TaskMenuCommand^>^ GetNavigationCommands(
    ValidationMessage^ message
)
abstract GetNavigationCommands : 
        message:ValidationMessage -> IList<TaskMenuCommand> 
override GetNavigationCommands : 
        message:ValidationMessage -> IList<TaskMenuCommand> 
protected function GetNavigationCommands(
    message : ValidationMessage
) : IList<TaskMenuCommand>

Parameters

Return Value

Type: System.Collections.Generic.IList<TaskMenuCommand>

.NET Framework Security

See Also

Reference

VsValidationContext Class

Microsoft.VisualStudio.Modeling.Shell Namespace