DashboardHelperToXmlString Method

Converts an IDashboardContent to a string.

Definition

Namespace: MFiles.VAF.Configuration.Domain.Dashboards
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public static string ToXmlString(
	this IDashboardContent content,
	bool indentXml = false
)

Parameters

content  IDashboardContent
The content to convert.
indentXml  Boolean  (Optional)
When true, the returned xml string will contain white space indentation.

Return Value

String
Generated XML string.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDashboardContent. 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