Class VbaModule
Class VbaModule
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.7.0)
Represents a VBA module.
public sealed class VbaModule : IVbaModule
Inheritance
Implements
Inherited Members
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
Attributes
Gets a collection of the module’s attributes.
public VbaModuleAttributeCollection Attributes { get; }
Property Value
Name
Gets a name of the VBA module
public string Name { get; set; }
Property Value
SourceCode
Gets or sets a source code of the VBA module
public string SourceCode { get; set; }
Property Value
Type
Gets the type of the module.
public VbaModuleType Type { get; }
Property Value
Methods
CreateClassModule(string)
Creates an instance of Aspose.Tasks.VbaModule with VbaModuleType.ClassModule type.
public static VbaModule CreateClassModule(string name)
Parameters
name
string
Returns
CreateProceduralModule(string)
Creates an instance of Aspose.Tasks.VbaModule with VbaModuleType.ProceduralModule type.
public static VbaModule CreateProceduralModule(string name)
Parameters
name
string