Aspose.Tasks for C++
CopyToOptions.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="CopyToOptions.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/object.h>
9 
10 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
11 
12 namespace Aspose {
13 
14 namespace Tasks {
15 
16 /// <summary>
17 /// Allows to specify additional options when copying project data.
18 /// </summary>
19 class ASPOSE_TASKS_SHARED_CLASS CopyToOptions : public System::Object
20 {
21  typedef CopyToOptions ThisType;
22  typedef System::Object BaseType;
23 
24  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
25  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
26 
27 public:
28 
29  /// <summary>
30  /// Gets a value indicating whether to copy view data while copying project data.
31  /// Default value is true.
32  /// </summary>
33  ASPOSE_TASKS_SHARED_API bool get_CopyViewData() const;
34  /// <summary>
35  /// Sets a value indicating whether to copy view data while copying project data.
36  /// Default value is true.
37  /// </summary>
38  ASPOSE_TASKS_SHARED_API void set_CopyViewData(bool value);
39 
40  /// <summary>Initializes a new instance of the <see cref="CopyToOptions"></see> class.</summary>
41  ASPOSE_TASKS_SHARED_API CopyToOptions();
42 
43 private:
44 
45  bool pr_CopyViewData;
46 
47 };
48 
49 } // namespace Tasks
50 } // namespace Aspose
51 
52 
Allows to specify additional options when copying project data.
Definition: CopyToOptions.h:20
CopyToOptions()
Initializes a new instance of the CopyToOptions class.
bool get_CopyViewData() const
Gets a value indicating whether to copy view data while copying project data. Default value is true.
void set_CopyViewData(bool value)
Sets a value indicating whether to copy view data while copying project data. Default value is true.
Definition: Asn.h:13