Returns the xml for an Entity or Entity Field.
Syntax 1
|
Returns the xml for an Entity or Entity Field. |
|
ToXml() |
Syntax 2
|
Returns the xml for an Entity or Entity Field. |
|
ToXml(field) |
|
Arguments: |
|
|
field |
Field - An Entity Field or Entity in the current context hierarchy. |
Remarks
- If the Entity is bound to state that does not support the ToXml method, a runtime error is thrown.
- See also ToInnerXml().
- Example: ToXml() returns "<Entity1><EntityField1><PrimitiveField1>123</PrimitiveField1></EntityField1></Entity1>".
- Example: ToXml(Entity1) returns "<Entity1><EntityField1><PrimitiveField1>123</PrimitiveField1></EntityField1></Entity1>".
- Example: ToXml(EntityField1) returns "<Entity2><PrimitiveField1>123</PrimitiveField1></Entity2>".
Comments
0 comments
Article is closed for comments.