ModelBusAdapterManager.CanCreateReference Method
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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'Declaração
Public MustOverride Function CanCreateReference ( _
ParamArray modelLocatorInfo As Object() _
) As Boolean
public abstract bool CanCreateReference(
params Object[] modelLocatorInfo
)
public:
virtual bool CanCreateReference(
... array<Object^>^ modelLocatorInfo
) abstract
abstract CanCreateReference :
modelLocatorInfo:Object[] -> bool
public abstract function CanCreateReference(
... modelLocatorInfo : Object[]
) : boolean
Parameters
- modelLocatorInfo
Type: array<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.
.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.