バージョン

SaveAsXML(Stream) メソッド

ドッキングされたウィンドウの情報を、指定したストリームに xml/soap データとして保存します。
シンタックス
'宣言
 
Public Overloads Sub SaveAsXML( _
   ByVal stream As Stream _
) 
public void SaveAsXML( 
   Stream stream
)

パラメータ

stream
情報を保存する必要があるストリーム。
使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinDock
Imports System.IO

Private Sub btnSaveXmlLayout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSaveXmlLayout.Click

    Dim stream As FileStream = Nothing
    Dim fileName As String = Application.CommonAppDataPath & "\dockManager.xml"

    Try
        stream = New FileStream(fileName, FileMode.Create, FileAccess.ReadWrite)

        Me.ultraDockManager1.SaveAsXML(stream)
    Finally
        If Not stream Is Nothing Then stream.Close()
    End Try

End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinDock;
using System.Diagnostics;
using System.IO;

private void btnSaveXmlLayout_Click(object sender, System.EventArgs e)
{

	FileStream stream = null;
	string fileName = Application.CommonAppDataPath + @"\dockManager.xml";

	try
	{
		stream = new FileStream(fileName, FileMode.Create, FileAccess.ReadWrite);

		this.ultraDockManager1.SaveAsXML(stream);
	}
	finally
	{
		if (stream != null)
			stream.Close();
	}

}
参照