IsElement 메서드
Indicates whether the current entity is an element with the given name. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public Shared Function IsElement ( _
reader As XmlTextReader, _
strName As String _
) As Boolean
‘사용 방법
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
매개 변수
- reader
유형: System.Xml. . :: . .XmlTextReader
The text reader to use.
- strName
유형: System. . :: . .String
A string that represents the string name.
반환 값
유형: System. . :: . .Boolean
true if the current entity is an element with the given name; otherwise, false.