VsValidationContext.GetNavigationProxyModelElements Method
Returns the substitutes model element for the passed in model element. Consider the case where the *viewed* presentation model element(s) (PELs) represents the model element(s) which are proxies to the actual offending model element reported during the model validation.
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
Public Overrides Function GetNavigationProxyModelElements ( _
fromElement As ModelElement _
) As IEnumerable(Of ModelElement)
public override IEnumerable<ModelElement> GetNavigationProxyModelElements(
ModelElement fromElement
)
public:
virtual IEnumerable<ModelElement^>^ GetNavigationProxyModelElements(
ModelElement^ fromElement
) override
abstract GetNavigationProxyModelElements :
fromElement:ModelElement -> IEnumerable<ModelElement>
override GetNavigationProxyModelElements :
fromElement:ModelElement -> IEnumerable<ModelElement>
public override function GetNavigationProxyModelElements(
fromElement : ModelElement
) : IEnumerable<ModelElement>
Parameters
- fromElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
the reported offending model element
Return Value
Type: System.Collections.Generic.IEnumerable<ModelElement>
A readonly collection of all all the proxy elements which represents the passed in model element.
.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.