Compartilhar via


Método ExpressionNode.ReadSimpleNodeWithCheck

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

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Protected Shared Function ReadSimpleNodeWithCheck ( _
    xr As XmlReader, _
    type As ExpressionNodeType, _
    ParamArray elements As String() _
) As List(Of String)
'Uso
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>

Parâmetros

  • elements
    Tipo: array<System.String[]
    An array of String values that specifies the elements to read.

Valor de retorno

Tipo: System.Collections.Generic.List<String>
A List of strings that contains the read values.

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Consulte também

Referência

ExpressionNode Classe

Namespace Microsoft.SqlServer.Management.Dmf