Click or drag to resize
ElementModelUtilityToXml Method
Transform IElementModel to its XML presentation

Namespace: FlexRule
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static string ToXml(
	this IElementModel node,
	bool formatXml = true,
	bool addLineNumber = false
)

Parameters

node
Type: FlexRule.Core.ModelIElementModel
formatXml (Optional)
Type: SystemBoolean
addLineNumber (Optional)
Type: SystemBoolean

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IElementModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also