Share via


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

  • nillable
    Type: System. . :: . .Boolean
    Indicates whether the element can contain the nil attribute in place of actual content.

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

See Also

Reference

DataContractSerializer Class

Ws.Services.Serialization Namespace