Share via


WriteChildElement Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Writes a child element to an XML stream.

Namespace:  Ws.Services.Serialization
Assembly:  MFWsStack (in MFWsStack.dll)

Syntax

'Declaration
Protected Function WriteChildElement ( _
    writer As XmlWriter, _
    typeName As String, _
    nillable As Boolean, _
    isRequired As Boolean, _
    obj As Object _
) As Boolean
protected bool WriteChildElement(
    XmlWriter writer,
    string typeName,
    bool nillable,
    bool isRequired,
    Object obj
)
protected:
bool WriteChildElement(
    XmlWriter^ writer, 
    String^ typeName, 
    bool nillable, 
    bool isRequired, 
    Object^ obj
)
member WriteChildElement : 
        writer:XmlWriter * 
        typeName:string * 
        nillable:bool * 
        isRequired:bool * 
        obj:Object -> bool 
protected function WriteChildElement(
    writer : XmlWriter, 
    typeName : String, 
    nillable : boolean, 
    isRequired : boolean, 
    obj : Object
) : 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 obj is nullNothingnullptrunita null reference (Nothing in Visual Basic). false if isRequired is false.

.NET Framework Security

See Also

Reference

DataContractSerializer Class

Ws.Services.Serialization Namespace