Partilhar via


Método IsElement

Indicates whether the current entity is an element with the given name. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

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

Sintaxe

'Declaração
Public Shared Function IsElement ( _
    reader As XmlTextReader, _
    strName As String _
) As Boolean
'Uso
Dim reader As XmlTextReader
Dim strName As String
Dim returnValue As Boolean

returnValue = XmlUtility.IsElement(reader, _
    strName)
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 static function IsElement(
    reader : XmlTextReader, 
    strName : String
) : boolean

Parâmetros

Valor de retorno

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