ModelElementTreeNode Constructor (ModelExplorerTreeContainer, ModelElement)
Note: This API is now obsolete.
Initializes a new instance of the ModelElementTreeNode class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use alternate constructor; 'container' parameter is no longer required")> _
Public Sub New ( _
container As ModelExplorerTreeContainer, _
modelElement As ModelElement _
)
[ObsoleteAttribute("Use alternate constructor; 'container' parameter is no longer required")]
public ModelElementTreeNode(
ModelExplorerTreeContainer container,
ModelElement modelElement
)
[ObsoleteAttribute(L"Use alternate constructor; 'container' parameter is no longer required")]
public:
ModelElementTreeNode(
ModelExplorerTreeContainer^ container,
ModelElement^ modelElement
)
[<ObsoleteAttribute("Use alternate constructor; 'container' parameter is no longer required")>]
new :
container:ModelExplorerTreeContainer *
modelElement:ModelElement -> ModelElementTreeNode
public function ModelElementTreeNode(
container : ModelExplorerTreeContainer,
modelElement : ModelElement
)
Parameters
container
Type: Microsoft.VisualStudio.Modeling.Shell.ModelExplorerTreeContainerThe container for the Model Explorer navigation tree.
modelElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element to appear as the node in the navigation tree for Model Explorer.
.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.