Click or drag to resize

DashboardHelperToXmlString Method

Converts an IDashboardContent to a string.

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

Parameters

content
Type: MFiles.VAF.Configuration.Domain.DashboardsIDashboardContent
The content to convert.
indentXml (Optional)
Type: SystemBoolean
When true, the returned xml string will contain white space indentation.

Return Value

Type: 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