IsParentStartElement Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Determines whether the object's root element is at the current reader position.
Namespace: Ws.Services.Serialization
Assembly: MFWsStack (in MFWsStack.dll)
Syntax
'Declaration
Protected Function IsParentStartElement ( _
reader As XmlReader, _
nillable As Boolean, _
isRequired As Boolean _
) As Boolean
protected bool IsParentStartElement(
XmlReader reader,
bool nillable,
bool isRequired
)
protected:
bool IsParentStartElement(
XmlReader^ reader,
bool nillable,
bool isRequired
)
member IsParentStartElement :
reader:XmlReader *
nillable:bool *
isRequired:bool -> bool
protected function IsParentStartElement(
reader : XmlReader,
nillable : boolean,
isRequired : boolean
) : boolean
Parameters
- reader
Type: System.Xml. . :: . .XmlReader
An XML reader positioned at a start element.
- nillable
Type: System. . :: . .Boolean
Indicates whether the element can contain the nil attribute in place of actual content.
- isRequired
Type: System. . :: . .Boolean
Specifies whether the element must exist.
Return Value
Type: System. . :: . .Boolean
true if the expected parent element is read or if nillable is true and the nil attribute is present.
.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.