Class ExcelVbaProject
Represents the VBA project part of the package
Inheritance
System.Object
ExcelVbaProject
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OfficeOpenXml.VBA
Assembly: EPPlus.dll
Syntax
public class ExcelVbaProject
Properties
CodePage
Codepage for encoding. Default is current regional setting.
Declaration
public int CodePage { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Constants
Conditional compilation constants
Declaration
public string Constants { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Description
A description of the project
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HelpContextID
Context if refering the helpfile
Declaration
public int HelpContextID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
HelpFile1
A helpfile
Declaration
public string HelpFile1 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HelpFile2
Secondary helpfile
Declaration
public string HelpFile2 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Modules
Code Modules (Modules, classes, designer code)
Declaration
public ExcelVbaModuleCollection Modules { get; set; }
Property Value
Type | Description |
---|---|
ExcelVbaModuleCollection |
Name
Name of the project
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Protection
VBA protection
Declaration
public ExcelVbaProtection Protection { get; }
Property Value
Type | Description |
---|---|
ExcelVbaProtection |
References
Project references
Declaration
public ExcelVbaReferenceCollection References { get; set; }
Property Value
Type | Description |
---|---|
ExcelVbaReferenceCollection |
Signature
The digital signature
Declaration
public ExcelVbaSignature Signature { get; }
Property Value
Type | Description |
---|---|
ExcelVbaSignature |
SystemKind
System kind. Default Win32.
Declaration
public eSyskind SystemKind { get; set; }
Property Value
Type | Description |
---|---|
eSyskind |
Methods
Remove()
Remove the project from the package
Declaration
public void Remove()
ToString()
The name of the project
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Returns the name of the project |
Overrides
System.Object.ToString()