_CalendarView.Copy Method
Creates a new View object based on the existing CalendarView 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 _CalendarView
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.StringThe name of the new view.
SaveOption
Type: Microsoft.Office.Interop.Outlook.OlViewSaveOptionThe save option for the new view.
Return Value
Type: Microsoft.Office.Interop.Outlook.View
A View object that represents the new view.