Delen via


ModelExplorerTreeContainer.AddHiddenPath Method

Gets the paths of the elements that you want to hide in Model Explorer.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Protected Sub AddHiddenPath ( _
    path As ICollection(Of Guid) _
)
protected void AddHiddenPath(
    ICollection<Guid> path
)
protected:
void AddHiddenPath(
    ICollection<Guid>^ path
)
member AddHiddenPath : 
        path:ICollection<Guid> -> unit
protected function AddHiddenPath(
    path : ICollection<Guid>
)

Parameters

Remarks

The path parameter should contain these GUIDs for each element that you want to hide in the following order:

Source Domain Relationship ID, Domain Class ID, Target Domain Relationship ID

Note

If you wanted to hide two elements in the same path, specify a path that resembles the following: Domain Relationship ID, Domain Class ID, Domain Relationship ID, Domain Class ID.

GUID

Description

Source Domain Relationship ID

The element's source relationship GUID.

Domain Class ID

The element's GUID.

Target Domain Relationship ID

The element's target relationship GUID.

.NET Framework Security

See Also

Reference

ModelExplorerTreeContainer Class

Microsoft.VisualStudio.Modeling.Shell Namespace