FieldUserName.h
1 // Copyright 2001-2022 Aspose Pty Ltd. All Rights Reserved.
3 //
4 // This file is part of Aspose.Words. The source code in this file
5 // is only intended as a supplement to the documentation, and is provided
6 // "as is", without warranty of any kind, either expressed or implied.
9 #pragma once
10 
11 #include <cstdint>
12 
13 #include <Aspose.Words.Cpp/Fields/Field.h>
14 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
15 
16 namespace Aspose
17 {
18 namespace Words
19 {
20 namespace Fields
21 {
22 class FieldUpdateAction;
23 }
24 }
25 }
26 namespace System
27 {
28 class String;
29 }
30 
31 namespace Aspose {
32 
33 namespace Words {
34 
35 namespace Fields {
36 
73 class ASPOSE_WORDS_SHARED_CLASS FieldUserName : public Aspose::Words::Fields::Field
74 {
75  typedef FieldUserName ThisType;
77 
78  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
79  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
80 
81 public:
82 
119  ASPOSE_WORDS_SHARED_API System::String get_UserName();
120 
122  ASPOSE_WORDS_SHARED_API void set_UserName(const System::String& value);
123 
124 protected:
125 
126  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Fields::FieldUpdateAction> UpdateCore() override;
127 
128  virtual ASPOSE_WORDS_SHARED_API ~FieldUserName();
129 
130 private:
131 
132 };
133 
134 }
135 }
136 }