次の方法で共有


VsValidationContext.GetDiagramNavigationCommands Method

Definition

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

protected:
 virtual System::Collections::Generic::IList<Microsoft::VisualStudio::Modeling::Shell::TaskMenuCommand ^> ^ GetDiagramNavigationCommands(System::Collections::Generic::IList<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ referencedModelElements);
protected virtual System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.Shell.TaskMenuCommand> GetDiagramNavigationCommands (System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.ModelElement> referencedModelElements);
abstract member GetDiagramNavigationCommands : System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.ModelElement> -> System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.Shell.TaskMenuCommand>
override this.GetDiagramNavigationCommands : System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.ModelElement> -> System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.Shell.TaskMenuCommand>
Protected Overridable Function GetDiagramNavigationCommands (referencedModelElements As IList(Of ModelElement)) As IList(Of TaskMenuCommand)

Parameters

referencedModelElements
IList<ModelElement>

Returns

An IList of DynamicMenuCommands

Applies to