VsValidationContext.GetExplorerNavigationCommand Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>