Partilhar via


ModelBusReferenceExtensionMethods.ApplyAdapterLimitations Method

Applies filtering based on the host's metadata, by using the first found ApplyAdapterLimitationsAttribute.

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

Syntax

'Declaração
<ExtensionAttribute> _
Public Shared Function ApplyAdapterLimitations ( _
    enumeration As IEnumerable(Of ModelBusAdapterManager), _
    host As IModelBrowserHost _
) As IEnumerable(Of ModelBusAdapterManager)
public static IEnumerable<ModelBusAdapterManager> ApplyAdapterLimitations(
    this IEnumerable<ModelBusAdapterManager> enumeration,
    IModelBrowserHost host
)
[ExtensionAttribute]
public:
static IEnumerable<ModelBusAdapterManager^>^ ApplyAdapterLimitations(
    IEnumerable<ModelBusAdapterManager^>^ enumeration, 
    IModelBrowserHost^ host
)
static member ApplyAdapterLimitations : 
        enumeration:IEnumerable<ModelBusAdapterManager> * 
        host:IModelBrowserHost -> IEnumerable<ModelBusAdapterManager> 
public static function ApplyAdapterLimitations(
    enumeration : IEnumerable<ModelBusAdapterManager>, 
    host : IModelBrowserHost
) : IEnumerable<ModelBusAdapterManager>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<ModelBusAdapterManager>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<ModelBusAdapterManager>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

Used by the picker to filter out non-configured LogicalAdapterIds and

.NET Framework Security

See Also

Reference

ModelBusReferenceExtensionMethods Class

Microsoft.VisualStudio.Modeling.Integration.Picker Namespace