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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)
Syntax
'Declaration
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
- elementType
Type: Type
Return Value
Type: 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
- 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.