WriteParentElement Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Writes an object to the root element of an XML stream.
Namespace: Ws.Services.Serialization
Assembly: MFWsStack (in MFWsStack.dll)
Syntax
'Declaration
Protected Function WriteParentElement ( _
writer As XmlWriter, _
nillable As Boolean, _
isRequired As Boolean, _
obj As Object _
) As Boolean
protected bool WriteParentElement(
XmlWriter writer,
bool nillable,
bool isRequired,
Object obj
)
protected:
bool WriteParentElement(
XmlWriter^ writer,
bool nillable,
bool isRequired,
Object^ obj
)
member WriteParentElement :
writer:XmlWriter *
nillable:bool *
isRequired:bool *
obj:Object -> bool
protected function WriteParentElement(
writer : XmlWriter,
nillable : boolean,
isRequired : boolean,
obj : Object
) : boolean
Parameters
- writer
Type: System.Ext.Xml. . :: . .XmlWriter
The XML writer used to write to the stream.
- nillable
Type: System. . :: . .Boolean
true to enforce nillable schema attibute validation, or false to not.
- 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.