Aspose.Tasks for C++
|
Represents a value in a value list. More...
#include <Value.h>
Inherits System::Object.
Public Member Functions | |
int32_t | get_Id () |
Gets the unique identifier of a value across a project. More... | |
void | set_Id (int32_t value) |
Sets the unique identifier of a value across a project. More... | |
System::Guid | get_ValueGuid () |
Gets a GUID which identifies this value among others in the entire project. More... | |
System::String | get_Val () |
Gets the actual value in internal representation. Prefer using strongly typed properties which are listed below. More... | |
void | set_Val (const System::String &value) |
Sets the actual value in internal representation. Prefer using strongly typed properties which are listed below. More... | |
System::String | get_StringValue () |
Gets the actual value which is used to represent Text string. More... | |
void | set_StringValue (const System::String &value) |
Sets the actual value which is used to represent Text string. More... | |
System::Decimal | get_NumericValue () |
Gets the actual value which is used to represent number or cost value. More... | |
void | set_NumericValue (System::Decimal value) |
Sets the actual value which is used to represent number or cost value. More... | |
System::Nullable< Aspose::Tasks::Duration > | get_Duration () |
Gets the actual value which is used to represent Duration. More... | |
void | set_Duration (System::Nullable< Aspose::Tasks::Duration > value) |
Sets the actual value which is used to represent Duration. More... | |
System::DateTime | get_DateTimeValue () const |
Gets the actual value if it can be represented as DateTime. Default value is DateTime::MinValue. More... | |
void | set_DateTimeValue (System::DateTime value) |
Sets the actual value if it can be represented as DateTime. Default value is DateTime::MinValue. More... | |
System::String | get_Description () |
Gets the description of a value. More... | |
void | set_Description (const System::String &value) |
Sets the description of a value. More... | |
System::String | get_Phonetic () const |
Gets the phonetic information about custom field name. More... | |
void | set_Phonetic (const System::String &value) |
Sets the phonetic information about custom field name. More... | |
Value () | |
Initializes a new instance of the Value class. More... | |
Represents a value in a value list.
Aspose::Tasks::Value::Value | ( | ) |
Initializes a new instance of the Value class.
System::DateTime Aspose::Tasks::Value::get_DateTimeValue | ( | ) | const |
Gets the actual value if it can be represented as DateTime. Default value is DateTime::MinValue.
Prefer this property over the Val, when you need to set the DateTime value.
System::String Aspose::Tasks::Value::get_Description | ( | ) |
Gets the description of a value.
System::Nullable<Aspose::Tasks::Duration> Aspose::Tasks::Value::get_Duration | ( | ) |
int32_t Aspose::Tasks::Value::get_Id | ( | ) |
System::Decimal Aspose::Tasks::Value::get_NumericValue | ( | ) |
Gets the actual value which is used to represent number or cost value.
Prefer this property over the Val, when you need to set the Number or Cost value.
System::String Aspose::Tasks::Value::get_Phonetic | ( | ) | const |
Gets the phonetic information about custom field name.
System::String Aspose::Tasks::Value::get_StringValue | ( | ) |
Gets the actual value which is used to represent Text string.
Prefer this property over the Val, when you need to set the Text value.
System::String Aspose::Tasks::Value::get_Val | ( | ) |
Gets the actual value in internal representation. Prefer using strongly typed properties which are listed below.
If you want to set Text value prefer using strongly typed StringValue property.
If you want to set Number or Cost value prefer using strongly typed NumericValue property.
If you want to set Date/Start/Finish values, prefer using strongly typed DateTimeValue property.
If you want to set Duration value prefer using strongly typed Duration property.
If your type wasn't listed, use Val property.
System::Guid Aspose::Tasks::Value::get_ValueGuid | ( | ) |
Gets a GUID which identifies this value among others in the entire project.
void Aspose::Tasks::Value::set_DateTimeValue | ( | System::DateTime | value | ) |
Sets the actual value if it can be represented as DateTime. Default value is DateTime::MinValue.
Prefer this property over the Val, when you need to set the DateTime value.
void Aspose::Tasks::Value::set_Description | ( | const System::String & | value | ) |
Sets the description of a value.
void Aspose::Tasks::Value::set_Duration | ( | System::Nullable< Aspose::Tasks::Duration > | value | ) |
void Aspose::Tasks::Value::set_Id | ( | int32_t | value | ) |
void Aspose::Tasks::Value::set_NumericValue | ( | System::Decimal | value | ) |
Sets the actual value which is used to represent number or cost value.
Prefer this property over the Val, when you need to set the Number or Cost value.
void Aspose::Tasks::Value::set_Phonetic | ( | const System::String & | value | ) |
Sets the phonetic information about custom field name.
void Aspose::Tasks::Value::set_StringValue | ( | const System::String & | value | ) |
Sets the actual value which is used to represent Text string.
Prefer this property over the Val, when you need to set the Text value.
void Aspose::Tasks::Value::set_Val | ( | const System::String & | value | ) |
Sets the actual value in internal representation. Prefer using strongly typed properties which are listed below.
If you want to set Text value prefer using strongly typed StringValue property.
If you want to set Number or Cost value prefer using strongly typed NumericValue property.
If you want to set Date/Start/Finish values, prefer using strongly typed DateTimeValue property.
If you want to set Duration value prefer using strongly typed Duration property.
If your type wasn't listed, use Val property.