8 #include <system/string.h>
10 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
18 class BuiltInProjectProperty;
19 class CustomProjectProperty;
28 namespace Properties {
33 class ASPOSE_TASKS_SHARED_CLASS
Property :
public System::Object
36 typedef System::Object BaseType;
38 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
39 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
49 ASPOSE_TASKS_SHARED_API System::String
get_Name()
const;
53 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Object>
get_Value()
const;
57 ASPOSE_TASKS_SHARED_API
void set_Value(
const System::SharedPtr<System::Object>& value);
63 ASPOSE_TASKS_SHARED_API System::String
ToString()
const override;
67 ASPOSE_TASKS_SHARED_API
Property(
const System::String& name);
73 virtual ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Object> GetValue()
const;
77 virtual ASPOSE_TASKS_SHARED_API
void SetValue(System::SharedPtr<System::Object> val);
78 #ifdef ASPOSE_GET_SHARED_MEMBERS
79 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
85 System::SharedPtr<System::Object> value;
86 System::String pr_Name;
91 ASPOSE_TASKS_SHARED_API
void set_Name(
const System::String& value);
Represents a built-in property.
Definition: BuiltInProjectProperty.h:37
Represents a custom property.
Definition: CustomProjectProperty.h:44
Represents a base class of a property.
Definition: Property.h:34
System::String ToString() const override
Returns the property value as string.
void set_Value(const System::SharedPtr< System::Object > &value)
Sets a value of the property.
System::String get_Name() const
Gets a name of the property.
System::SharedPtr< System::Object > get_Value() const
Gets a value of the property.