Freigeben über


ModelBusAdapter.GetElementReferences Method (Type)

 

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

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

Syntax

protected internal abstract IEnumerable<ModelBusReference> GetElementReferences(
    Type elementType
)
public protected:
virtual IEnumerable<ModelBusReference^>^ GetElementReferences(
    Type^ elementType
) abstract
abstract GetElementReferences : 
        elementType:Type -> IEnumerable<ModelBusReference>
Protected Friend MustOverride Function GetElementReferences (
    elementType As Type
) As IEnumerable(Of ModelBusReference)

Parameters

  • dataContract
    The data contract type

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.

See Also

ModelBusAdapter Class
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top