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
path
Type: System.Collections.Generic.ICollection<Guid>The path (in GUID form) of the element that you want to hide from Model Explorer.
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
- 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.