Aspose.Tasks for C++
Aspose::Tasks::OutlineCode Class Reference

Represents a value of an outline code. More...

#include <OutlineCode.h>

Inherits System::Object.

Public Member Functions

System::String get_FieldId () const
 Gets the number value of the project Id custom field. More...
 
void set_FieldId (const System::String &value)
 Sets the number value of the project Id custom field. More...
 
int32_t get_ValueId () const
 Gets the Id in the value list associated with the definition in the outline code collection. More...
 
void set_ValueId (int32_t value)
 Sets the Id in the value list associated with the definition in the outline code collection. More...
 
System::String get_ValueGuid () const
 Gets the GUID of the value in the value list. The ValueGuid matches the FieldGuid in the value list. More...
 
void set_ValueGuid (const System::String &value)
 Sets the GUID of the value in the value list. The ValueGuid matches the FieldGuid in the value list. More...
 
 OutlineCode ()
 Initializes a new instance of the OutlineCode class. More...
 
 OutlineCode (const System::SharedPtr< OutlineCodeDefinition > &codeDefinition, const System::SharedPtr< OutlineValue > &outlineValue)
 Initializes a new instance of the OutlineCode class using the specified Outline Code and one of its values. More...
 

Detailed Description

Represents a value of an outline code.

Two pieces of data are necessary - a pointer to the outline code table that is specified by the FieldId, and the value that is specified either by the ValueId or ValueGuid pointer to the value list.

Constructor & Destructor Documentation

◆ OutlineCode() [1/2]

Aspose::Tasks::OutlineCode::OutlineCode ( )

Initializes a new instance of the OutlineCode class.

◆ OutlineCode() [2/2]

Aspose::Tasks::OutlineCode::OutlineCode ( const System::SharedPtr< OutlineCodeDefinition > &  codeDefinition,
const System::SharedPtr< OutlineValue > &  outlineValue 
)

Initializes a new instance of the OutlineCode class using the specified Outline Code and one of its values.

Member Function Documentation

◆ get_FieldId()

System::String Aspose::Tasks::OutlineCode::get_FieldId ( ) const

Gets the number value of the project Id custom field.

◆ get_ValueGuid()

System::String Aspose::Tasks::OutlineCode::get_ValueGuid ( ) const

Gets the GUID of the value in the value list. The ValueGuid matches the FieldGuid in the value list.

◆ get_ValueId()

int32_t Aspose::Tasks::OutlineCode::get_ValueId ( ) const

Gets the Id in the value list associated with the definition in the outline code collection.

◆ set_FieldId()

void Aspose::Tasks::OutlineCode::set_FieldId ( const System::String &  value)

Sets the number value of the project Id custom field.

◆ set_ValueGuid()

void Aspose::Tasks::OutlineCode::set_ValueGuid ( const System::String &  value)

Sets the GUID of the value in the value list. The ValueGuid matches the FieldGuid in the value list.

◆ set_ValueId()

void Aspose::Tasks::OutlineCode::set_ValueId ( int32_t  value)

Sets the Id in the value list associated with the definition in the outline code collection.