Udostępnij przez


Metoda ExpressionNode.ReadSimpleNodeWithCheck

Odczytuje określone elementy z danym wyrażenie typ węzła i odczytu z określonej odczytującego XML.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Protected Shared Function ReadSimpleNodeWithCheck ( _
    xr As XmlReader, _
    type As ExpressionNodeType, _
    ParamArray elements As String() _
) As List(Of String)
'Użycie
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>

Parametry

  • elements
    Typ: array<System.String[]
    Tablica String wartości, które określa elementy do odczytu.

Wartość zwracana

Typ: System.Collections.Generic.List<String>
A List ciągów, które zawiera wartości odczytu.

Uwagi

Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.