FileDialogsSaveByDialogTObject Method (TObject, SaveFunctionTObject, IWin32Window, String, String, DialogResult)

CVB.Net Documentation
Generic file save function.

Namespace:  Stemmer.Cvb.Forms
Assembly:  Stemmer.Cvb.Forms (in Stemmer.Cvb.Forms.dll) Version: 14.0.0.0
Syntax

public static void SaveByDialog<TObject>(
	TObject obj,
	SaveFunction<TObject> f,
	IWin32Window owner,
	string title,
	string filter,
	out DialogResult dlgRes
)

Parameters

obj
Type: TObject
Object to be saved.
f
Type: Stemmer.Cvb.UtilitiesSaveFunctionTObject
Load delegate.
owner
Type: System.Windows.FormsIWin32Window
Window that owns the modal dialog.
title
Type: SystemString
Title of the dialog.
filter
Type: SystemString
File type filter.
dlgRes
Type: System.Windows.FormsDialogResult
Dialog result.

Type Parameters

TObject
Type of the object to be saved.
See Also

Reference