Share via


XmlUtility.SelectNextElement Method (XmlTextReader, String)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Shared Function SelectNextElement ( _
    reader As XmlTextReader, _
    strName As String _
) As Boolean
'Usage
Dim reader As XmlTextReader
Dim strName As String
Dim returnValue As Boolean

returnValue = XmlUtility.SelectNextElement(reader, _
    strName)
public static bool SelectNextElement(
    XmlTextReader reader,
    string strName
)
public:
static bool SelectNextElement(
    XmlTextReader^ reader, 
    String^ strName
)
static member SelectNextElement : 
        reader:XmlTextReader * 
        strName:string -> bool 
public static function SelectNextElement(
    reader : XmlTextReader, 
    strName : String
) : boolean

Parameters

  • strName
    Type: System.String
    A string that represents the string name.

Return Value

Type: System.Boolean
true to select the next element by name; otherwise, false.