Partager via


Search.Save Method

Saves the search results to a Search Folder.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Function Save ( _
    Name As String _
) As MAPIFolder
'Usage
Dim instance As Search
Dim Name As String
Dim returnValue As MAPIFolder

returnValue = instance.Save(Name)
[DispIdAttribute()]
MAPIFolder Save(
    string Name
)

Parameters

  • Name
    Type: System.String

    A string that represents the Search Folder name.

Return Value

Type: Microsoft.Office.Interop.Outlook.MAPIFolder

Remarks

The Save method displays an error if a Search Folder with the same name already exists.

See Also

Reference

Search Interface

Search Members

Microsoft.Office.Interop.Outlook Namespace