尝试分析所提供的每个模型元素,并返回一个指示是否所有元素均可分析的值。 它还在输出参数中返回已分析元素的列表。
命名空间:  Microsoft.Data.Schema.Tools.Compare.Schema
程序集:  Microsoft.Data.Schema.Tools(在 Microsoft.Data.Schema.Tools.dll 中)
语法
声明
Public Overridable Function TryParseExcludedElement ( _
    model As DataSchemaModel, _
    <OutAttribute> ByRef modelElements As IList(Of IModelElement) _
) As Boolean
public virtual bool TryParseExcludedElement(
    DataSchemaModel model,
    out IList<IModelElement> modelElements
)
public:
virtual bool TryParseExcludedElement(
    DataSchemaModel^ model, 
    [OutAttribute] IList<IModelElement^>^% modelElements
)
abstract TryParseExcludedElement : 
        model:DataSchemaModel * 
        modelElements:IList<IModelElement> byref -> bool 
override TryParseExcludedElement : 
        model:DataSchemaModel * 
        modelElements:IList<IModelElement> byref -> bool 
public function TryParseExcludedElement(
    model : DataSchemaModel, 
    modelElements : IList<IModelElement>
) : boolean
参数
- model
 类型:Microsoft.Data.Schema.SchemaModel.DataSchemaModel
 一个 DataSchemaModel,表示当前数据模型。
- modelElements
 类型:System.Collections.Generic.IList<IModelElement>%
 (输出)一个包含已分析 IModelElement 对象的 IList<T>。
返回值
类型:System.Boolean
如果成功分析了所有元素,则为 true;否则为 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
SchemaCompareExcludedElement 类