View.Copy Method
Creates a new instance of a View object.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Function Copy ( _
Name As String, _
SaveOption As OlViewSaveOption _
) As View
'Usage
Dim instance As View
Dim Name As String
Dim SaveOption As OlViewSaveOption
Dim returnValue As View
returnValue = instance.Copy(Name, SaveOption)
[DispIdAttribute()]
View Copy(
string Name,
OlViewSaveOption SaveOption
)
Parameters
Name
Type: System.StringRepresents the name of the new View object.
SaveOption
Type: Microsoft.Office.Interop.Outlook.OlViewSaveOptionThe save option that defines the permissions of the View object.
Return Value
Type: Microsoft.Office.Interop.Outlook.View