Partilhar via


ModelBusAdapter.GetElementReferences Method

Get back all referenced objects that conform to a given data contract.

Namespace:  Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)

Syntax

'Declaração
Protected Friend MustOverride Function GetElementReferences ( _
    elementType As Type _
) As IEnumerable(Of ModelBusReference)
protected internal abstract IEnumerable<ModelBusReference> GetElementReferences(
    Type elementType
)
protected public:
virtual IEnumerable<ModelBusReference^>^ GetElementReferences(
    Type^ elementType
) abstract
abstract GetElementReferences : 
        elementType:Type -> IEnumerable<ModelBusReference> 
 abstract function GetElementReferences(
    elementType : Type
) : IEnumerable<ModelBusReference>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<ModelBusReference>
Readonly collection of references

Remarks

If a referenced object is of a type that derives from the type, it is up to actual implementation to decide whether the object should be returned by this method or not.

.NET Framework Security

See Also

Reference

ModelBusAdapter Class

Microsoft.VisualStudio.Modeling.Integration Namespace