IsAttribute Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Determines whether the specified attribute exists at the current XML reader position.
Namespace: Ws.Services.Serialization
Assembly: MFWsStack (in MFWsStack.dll)
Syntax
'Declaration
Protected Function IsAttribute ( _
reader As XmlReader, _
attributeName As String _
) As Boolean
protected bool IsAttribute(
XmlReader reader,
string attributeName
)
protected:
bool IsAttribute(
XmlReader^ reader,
String^ attributeName
)
member IsAttribute :
reader:XmlReader *
attributeName:string -> bool
protected function IsAttribute(
reader : XmlReader,
attributeName : String
) : boolean
Parameters
- reader
Type: System.Xml. . :: . .XmlReader
An XML reader positioned on an element attribute.
- attributeName
Type: System. . :: . .String
The name of the attribute to read.
Return Value
Type: System. . :: . .Boolean
true if the attribute is found, or false if not.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.