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
- writer
Type: System.Ext.Xml. . :: . .XmlWriter
An XML writer used to write to the stream.
- typeName
Type: System. . :: . .String
The element name to write.
- nillable
Type: System. . :: . .Boolean
Indicates whether the element can contain the nil attribute in place of actual content.
- isRequired
Type: System. . :: . .Boolean
true if the element is required, or false if not.
- obj
Type: System. . :: . .Object
The value to serialize.
Return Value
Type: System. . :: . .Boolean
true if obj is nullNothingnullptrunita null reference (Nothing in Visual Basic). false if isRequired is false.
.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.