ModelBusAdapterManager.CreateReference Method (Object[])

 

Attempts to create and return a model bus reference from the supplied data.

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 ModelBusReference CreateReference(
    params object[] modelLocatorInfo
)
public:
virtual ModelBusReference^ CreateReference(
    ... array<Object^>^ modelLocatorInfo
) abstract
abstract CreateReference : 
        [<ParamArrayAttribute>] modelLocatorInfo:Object[] -> ModelBusReference
Public MustOverride Function CreateReference (
    ParamArray modelLocatorInfo As Object()
) As ModelBusReference

Parameters

  • modelLocatorInfo
    Type: 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.

See Also

ModelBusAdapterManager Class
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top