共用方式為


ModelBusAdapterManager.GetExposedElementTypes Method

Get a collection of all the ModelElement types which are exposed by any ModelBusAdapter managed by this adapter manager, and thus can be referenced from the outside, along with their display name;

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

Syntax

'宣告
Public MustOverride Function GetExposedElementTypes ( _
    logicalAdapterId As String _
) As IEnumerable(Of SupportedType)
public abstract IEnumerable<SupportedType> GetExposedElementTypes(
    string logicalAdapterId
)
public:
virtual IEnumerable<SupportedType^>^ GetExposedElementTypes(
    String^ logicalAdapterId
) abstract
abstract GetExposedElementTypes : 
        logicalAdapterId:string -> IEnumerable<SupportedType> 
public abstract function GetExposedElementTypes(
    logicalAdapterId : String
) : IEnumerable<SupportedType>

Parameters

  • logicalAdapterId
    Type: System.String
    the adapter id from which to get the supported types

Return Value

Type: System.Collections.Generic.IEnumerable<SupportedType>
Readonly collection of SupportedTypes

.NET Framework Security

See Also

Reference

ModelBusAdapterManager Class

Microsoft.VisualStudio.Modeling.Integration Namespace