VsValidationContext.GetDiagramNavigationTargetSubstitutes Method
Gets a list of zero-or-more substitute shapes for the given target.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣言
Protected Overridable Function GetDiagramNavigationTargetSubstitutes ( _
target As ModelElement _
) As IList(Of DiagramItem)
protected virtual IList<DiagramItem> GetDiagramNavigationTargetSubstitutes(
ModelElement target
)
protected:
virtual IList<DiagramItem^>^ GetDiagramNavigationTargetSubstitutes(
ModelElement^ target
)
abstract GetDiagramNavigationTargetSubstitutes :
target:ModelElement -> IList<DiagramItem>
override GetDiagramNavigationTargetSubstitutes :
target:ModelElement -> IList<DiagramItem>
protected function GetDiagramNavigationTargetSubstitutes(
target : ModelElement
) : IList<DiagramItem>
Parameters
- target
Type: Microsoft.VisualStudio.Modeling.ModelElement
original navigation target (expected not to be a ShapeElement)
Return Value
Type: System.Collections.Generic.IList<DiagramItem>
a list of substitute navigation targets (expected to be ShapeElements), may be null
.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.