RichTextBox for WPF
SaveToIsolatedStorage メソッド (UserDictionary)
使用例 

C1.WPF.SpellChecker アセンブリ > C1.WPF.SpellChecker 名前空間 > UserDictionary クラス : SaveToIsolatedStorage メソッド
保存するファイルの名前。
分離ストレージスコープ。
Domain エビデンスタイプ。
Assembly エビデンスタイプ。
分離ストレージの圧縮ファイルに辞書を保存します。
シンタックス
'宣言
 
Public Sub SaveToIsolatedStorage( _
   ByVal fileName As System.String, _
   Optional ByVal scope As System.IO.IsolatedStorage.IsolatedStorageScope, _
   Optional ByVal domainEvidenceType As System.Type, _
   Optional ByVal assemblyEvidenceType As System.Type _
) 
public void SaveToIsolatedStorage( 
   System.string fileName,
   System.IO.IsolatedStorage.IsolatedStorageScope scope,
   System.Type domainEvidenceType,
   System.Type assemblyEvidenceType
)

パラメータ

fileName
保存するファイルの名前。
scope
分離ストレージスコープ。
domainEvidenceType
Domain エビデンスタイプ。
assemblyEvidenceType
Assembly エビデンスタイプ。
解説
このメソッドは、スペルチェックプロセス中に変更されたユーザー辞書を 保存するために使用されます。通常は、アプリケーションを終了する前に 一度だけ呼び出されます。
使用例
public Page()
{
  InitializeComponent();

  // ユーザー辞書をロードします
  UserDictionary ud = c1SpellChecker1.UserDictionary;
  ud.LoadFromIsolatedStorage("Custom.dct");

  // アプリケーションの終了時にユーザー辞書を保存します
  App.Current.Exit += App_Exit;
}
          
void App_Exit(object sender, EventArgs e)
{
  // 変更されたユーザー辞書を保存します
  UserDictionary ud = c1SpellChecker1.UserDictionary;
  ud.SaveToIsolatedStorage("Custom.dct");
}
参照

UserDictionary クラス
UserDictionary メンバ