Condividi tramite


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Dichiarazione
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: System.Collections.Generic.IList<TaskMenuCommand>

.NET Framework Security

See Also

Reference

VsValidationContext Class

Microsoft.VisualStudio.Modeling.Shell Namespace