返回指定模型元素的架构视图节点路径。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Protected Function GetPathsFromGeneratorPaths ( _
element As IModelElement, _
<OutAttribute> ByRef added As IList(Of IList(Of ISchemaModelViewerNode)), _
<OutAttribute> ByRef updated As IList(Of IList(Of ISchemaModelViewerNode)), _
<OutAttribute> ByRef removed As IList(Of IList(Of ISchemaModelViewerNode)) _
) As Boolean
protected bool GetPathsFromGeneratorPaths(
IModelElement element,
out IList<IList<ISchemaModelViewerNode>> added,
out IList<IList<ISchemaModelViewerNode>> updated,
out IList<IList<ISchemaModelViewerNode>> removed
)
protected:
bool GetPathsFromGeneratorPaths(
IModelElement^ element,
[OutAttribute] IList<IList<ISchemaModelViewerNode^>^>^% added,
[OutAttribute] IList<IList<ISchemaModelViewerNode^>^>^% updated,
[OutAttribute] IList<IList<ISchemaModelViewerNode^>^>^% removed
)
member GetPathsFromGeneratorPaths :
element:IModelElement *
added:IList<IList<ISchemaModelViewerNode>> byref *
updated:IList<IList<ISchemaModelViewerNode>> byref *
removed:IList<IList<ISchemaModelViewerNode>> byref -> bool
protected function GetPathsFromGeneratorPaths(
element : IModelElement,
added : IList<IList<ISchemaModelViewerNode>>,
updated : IList<IList<ISchemaModelViewerNode>>,
removed : IList<IList<ISchemaModelViewerNode>>
) : boolean
参数
- element
类型:Microsoft.Data.Schema.SchemaModel.IModelElement
模型元素。
- added
类型:System.Collections.Generic.IList<IList<ISchemaModelViewerNode>>%
用从生成器节点创建的节点填充。
- updated
类型:System.Collections.Generic.IList<IList<ISchemaModelViewerNode>>%
用缓存中的节点填充。
- removed
类型:System.Collections.Generic.IList<IList<ISchemaModelViewerNode>>%
用在生成器与缓存之间具有匹配项的节点填充。
返回值
类型:System.Boolean
如果返回了路径,则为 true,否则为 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
SchemaModelViewerControllerBaseInternal 类
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空间