ExpressionNode.ReadSimpleNodeWithCheck メソッド

指定した要素を、指定した型の式ノードで評価し、指定した XML リーダーを使用して読み取ります。

名前空間:  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>

パラメーター

  • xr
    型: System.Xml.XmlReader
    指定した要素を読み取るために使用する XML リーダーを示す XmlReader オブジェクト値です。

戻り値

型: System.Collections.Generic.List<String>
読み取る値を含む文字列の List です。

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

関連項目

参照

ExpressionNode クラス

Microsoft.SqlServer.Management.Dmf 名前空間