ReadSimpleNodeWithCheck 方法

Reads the specified elements, evaluated with the given expression node type, and read with the specified XML reader.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Protected Shared Function ReadSimpleNodeWithCheck ( _
    xr As XmlReader, _
    type As ExpressionNodeType, _
    ParamArray elements As String() _
) As List(Of String)
用法
Dim xr As XmlReader
Dim type As ExpressionNodeType
Dim elements As String()
Dim returnValue As List(Of String)

returnValue = ExpressionNode.ReadSimpleNodeWithCheck(xr, _
    type, elements)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
protected static List<string> ReadSimpleNodeWithCheck(
    XmlReader xr,
    ExpressionNodeType type,
    params string[] elements
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
protected:
static List<String^>^ ReadSimpleNodeWithCheck(
    XmlReader^ xr, 
    ExpressionNodeType type, 
    ... array<String^>^ elements
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member ReadSimpleNodeWithCheck : 
        xr:XmlReader * 
        type:ExpressionNodeType * 
        elements:string[] -> List<string> 
protected static function ReadSimpleNodeWithCheck(
    xr : XmlReader, 
    type : ExpressionNodeType, 
    ... elements : String[]
) : List<String>

参数

返回值

类型:System.Collections.Generic. . :: . .List< (Of < ( <'String> ) > ) >
A List of strings that contains the read values.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。