Aspose.Tasks for C++
Aspose::Tasks::VbaModule Class Referencefinal

Represents a VBA module. More...

#include <VbaModule.h>

Inherits Aspose::Tasks::IVbaModule.

Public Member Functions

System::SharedPtr< VbaModuleAttributeCollectionget_Attributes () override
 Gets a collection of the module's attributes. More...
 
System::String get_Name () override
 Gets a name of the VBA module More...
 
void set_Name (const System::String &value)
 Gets a name of the VBA module More...
 
VbaModuleType get_Type () const
 Gets the type of the module. More...
 
System::String get_SourceCode () override
 Gets a source code of the VBA module More...
 
void set_SourceCode (const System::String &value)
 Sets a source code of the VBA module More...
 

Static Public Member Functions

static System::SharedPtr< VbaModuleCreateProceduralModule (const System::String &name)
 Creates an instance of VbaModule with VbaModuleType.ProceduralModule type. More...
 
static System::SharedPtr< VbaModuleCreateClassModule (const System::String &name)
 Creates an instance of VbaModule with VbaModuleType.ClassModule type. More...
 

Detailed Description

Represents a VBA module.

Member Function Documentation

◆ CreateClassModule()

static System::SharedPtr<VbaModule> Aspose::Tasks::VbaModule::CreateClassModule ( const System::String &  name)
static

Creates an instance of VbaModule with VbaModuleType.ClassModule type.

◆ CreateProceduralModule()

static System::SharedPtr<VbaModule> Aspose::Tasks::VbaModule::CreateProceduralModule ( const System::String &  name)
static

Creates an instance of VbaModule with VbaModuleType.ProceduralModule type.

◆ get_Attributes()

System::SharedPtr<VbaModuleAttributeCollection> Aspose::Tasks::VbaModule::get_Attributes ( )
overridevirtual

Gets a collection of the module's attributes.

Implements Aspose::Tasks::IVbaModule.

◆ get_Name()

System::String Aspose::Tasks::VbaModule::get_Name ( )
overridevirtual

Gets a name of the VBA module

Implements Aspose::Tasks::IVbaModule.

◆ get_SourceCode()

System::String Aspose::Tasks::VbaModule::get_SourceCode ( )
overridevirtual

Gets a source code of the VBA module

Implements Aspose::Tasks::IVbaModule.

◆ get_Type()

VbaModuleType Aspose::Tasks::VbaModule::get_Type ( ) const

Gets the type of the module.

◆ set_Name()

void Aspose::Tasks::VbaModule::set_Name ( const System::String &  value)

Gets a name of the VBA module

◆ set_SourceCode()

void Aspose::Tasks::VbaModule::set_SourceCode ( const System::String &  value)

Sets a source code of the VBA module