Share via


VsValidationContext.GetExplorerNavigationCommand Method

Definition

Returns a TaskMenuCommand capable of navigating to the appropriate node in the model explorer window for this validation message. If no corresponding node exists in the model explorer, this property returns null.

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

Parameters

referencedModelElements
IList<ModelElement>

Returns

Applies to