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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Déclaration
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
- referencedModelElements
Type: System.Collections.Generic.IList<ModelElement>
Return Value
Type: Microsoft.VisualStudio.Modeling.Shell.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.