ModelElementBrowser.LoadReference Method (ModelBusReference)
performs the needed steps in order to load the reference in this browser 1. Clears all the previous elements 2. Sets the current status based on the context 3. Load the elements (if needed) This method controls the following states: NoModelRef, NoElementRef, InvalidModelRef if ref==null =>NoModelRef (no model loaded) else if ref is valid model ref =>NoElementRef (need to peek an element) else => InvalidModelRef (couldn't peek an element because the model ref is broken)
Namespace: Microsoft.VisualStudio.Modeling.Integration.Shell.Picker
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0.dll)
Syntax
protected void LoadReference(
ModelBusReference reference
)
protected:
void LoadReference(
ModelBusReference^ reference
)
member LoadReference :
reference:ModelBusReference -> unit
Protected Sub LoadReference (
reference As ModelBusReference
)
Parameters
Return Value
See Also
ModelElementBrowser Class
Microsoft.VisualStudio.Modeling.Integration.Shell.Picker Namespace
Return to top