Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Attempts to create and return a model bus reference from the supplied data.
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'Declaration
Public MustOverride Function CreateReference ( _
ParamArray modelLocatorInfo As Object() _
) As ModelBusReference
public abstract ModelBusReference CreateReference(
params Object[] modelLocatorInfo
)
public:
virtual ModelBusReference^ CreateReference(
... array<Object^>^ modelLocatorInfo
) abstract
abstract CreateReference :
modelLocatorInfo:Object[] -> ModelBusReference
public abstract function CreateReference(
... modelLocatorInfo : Object[]
) : ModelBusReference
Parameters
- modelLocatorInfo
Type: array<System.Object[]
File path, EnvDTE.ProjecItem, or other model location information recognized by the adapter manager.
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
A new model bus reference, or null.
Remarks
This method may throw exceptions if a model bus reference could not be created.
.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.