Share via


VsValidationContext.GetExplorerNavigationCommand Method

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.

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 GetExplorerNavigationCommand ( _
    referencedModelElements As IList(Of ModelElement) _
) As TaskMenuCommand
protected virtual TaskMenuCommand GetExplorerNavigationCommand(
    IList<ModelElement> referencedModelElements
)
protected:
virtual TaskMenuCommand^ GetExplorerNavigationCommand(
    IList<ModelElement^>^ referencedModelElements
)
abstract GetExplorerNavigationCommand : 
        referencedModelElements:IList<ModelElement> -> TaskMenuCommand  
override GetExplorerNavigationCommand : 
        referencedModelElements:IList<ModelElement> -> TaskMenuCommand
protected function GetExplorerNavigationCommand(
    referencedModelElements : IList<ModelElement>
) : TaskMenuCommand

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Shell.TaskMenuCommand

.NET Framework Security

See Also

Reference

VsValidationContext Class

Microsoft.VisualStudio.Modeling.Shell Namespace