Interface IVbaModules
Namespace: Syncfusion.Office
Assembly: Syncfusion.Compression.Portable.dll
Syntax
public interface IVbaModules : IEnumerable
Properties
Count
Specifies the number of Vba modules in the collection.
Declaration
int Count { get; }
Property Value
Type |
---|
System.Int32 |
Item[Int32]
Get the Vba module at the specified index.
Declaration
IVbaModule this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index |
Property Value
Type | Description |
---|---|
IVbaModule | Vba Module |
Item[String]
Get the Vba module with the specified name.
Declaration
IVbaModule this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name |
Property Value
Type | Description |
---|---|
IVbaModule | Vba Module |
Methods
Add(String, VbaModuleType)
Add a Vba module to the Vba project module collection
Declaration
IVbaModule Add(string name, VbaModuleType type)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name |
VbaModuleType | type | Type |
Returns
Type |
---|
IVbaModule |
Clear()
Clears Vba Module Collection
Declaration
void Clear()
Remove(String)
Removes a Vba module with the specified name
Declaration
void Remove(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name |
RemoveAt(Int32)
Removes a Vba module at the specified index.
Declaration
void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index |