Brings up a common File SaveAs dialog and returns the file name selected by the user. If the user canceled, returns an empty file name.
[Visual Basic .NET] |
---|
Public Function FileSaveAsDialog( _ ByVal DefaultExt As String, _ ByVal Filter As String, _ ByVal InitialDir As String _ ) As String |
[C#] |
---|
public string FileSaveAsDialog( string DefaultExt, string Filter, string InitialDir ); |
[Managed C++] |
---|
public: String __gc ^ FileSaveAsDialog( String __gc ^ DefaultExt, String __gc ^ Filter, String __gc ^ InitialDir ); |
[Unmanaged C++] |
---|
public: HRESULT FileSaveAsDialog( BSTR DefaultExt, BSTR Filter, BSTR InitialDir, BSTR * pFileName ); |
[Java] |
---|
public String fileSaveAsDialog( String DefaultExt, String Filter, String InitialDir ); |
- DefaultExt
- Filter
- InitialDir