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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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
- referencedModelElements
Type: System.Collections.Generic.IList<ModelElement>
Return Value
Type: System.Collections.Generic.IList<TaskMenuCommand>
.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.