XmlUtility.IsElement Method (XmlTextReader, String)

 

Applies To: SQL Server 2016 Preview

Indicates whether the current entity is an element with the given name. 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

public static bool IsElement(
    XmlTextReader reader,
    string strName
)
public:
static bool IsElement(
    XmlTextReader^ reader,
    String^ strName
)
static member IsElement : 
        reader:XmlTextReader *
        strName:string -> bool
Public Shared Function IsElement (
    reader As XmlTextReader,
    strName As String
) As Boolean

Parameters

  • strName
    Type: System.String

    A string that represents the string name.

Return Value

Type: System.Boolean

true if the current entity is an element with the given name; otherwise, false.

See Also

XmlUtility Class
Microsoft.SqlServer.Management.Sdk.Sfc Namespace

Return to top