Freigeben über


ModelBusAdapterManager.CanCreateReference Method (Object[])

 

Can this ModelBusAdapter manager create a scope described by the given contextual information about a model?

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

Syntax

public abstract bool CanCreateReference(
    params object[] modelLocatorInfo
)
public:
virtual bool CanCreateReference(
    ... array<Object^>^ modelLocatorInfo
) abstract
abstract CanCreateReference : 
        [<ParamArrayAttribute>] modelLocatorInfo:Object[] -> bool
Public MustOverride Function CanCreateReference (
    ParamArray modelLocatorInfo As Object()
) As Boolean

Parameters

  • modelLocatorInfo
    Type: System.Object[]

    File path, EnvDTE.ProjectItem, or other information that the AdapterManager recognizes as the location of a model.

Return Value

Type: System.Boolean

Returns true if the adapter manager can create a modelbus reference from the supplied information. Else returns false.

See Also

ModelBusAdapterManager Class
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top