SchemaModelViewerControllerBase.GetPathsToElement Method
Returns the path of a specified element in the hierarchy.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public MustOverride Function GetPathsToElement ( _
element As IModelElement _
) As IList(Of IList(Of ISchemaModelViewerNode))
public abstract IList<IList<ISchemaModelViewerNode>> GetPathsToElement(
IModelElement element
)
public:
virtual IList<IList<ISchemaModelViewerNode^>^>^ GetPathsToElement(
IModelElement^ element
) abstract
abstract GetPathsToElement :
element:IModelElement -> IList<IList<ISchemaModelViewerNode>>
public abstract function GetPathsToElement(
element : IModelElement
) : IList<IList<ISchemaModelViewerNode>>
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element being queried.
Return Value
Type: System.Collections.Generic.IList<IList<ISchemaModelViewerNode>>
Non-null list (but this list could be empty) that represents the path from the root to the model element node.
Implements
ISchemaModelViewerController.GetPathsToElement(IModelElement)
.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.
See Also
Reference
SchemaModelViewerControllerBase Class
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace