Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeVbaProjectInfo

OfficeIMO

Namespace
OfficeIMO
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Describes a VBA project embedded in an Office document.

Inheritance

  • object
  • OfficeVbaProjectInfo

Properties

public string PartUri { get; } #

URI of the vbaProject.bin package part.

public string ContentType { get; } #

Declared MIME content type.

public long Length { get; } #

VBA project length in bytes, or -1 for a descriptor that did not request a payload read.

public bool HasKnownLength { get; } #

Whether the decoded project length is known.

public string? Sha256 { get; } #

Lowercase SHA-256 digest when hash calculation was requested; otherwise null.

public IReadOnlyList<string> ModuleNames { get; } #

Best-effort VBA module names discovered in the compound project.

public bool ModuleInspectionRequested { get; } #

Whether binary VBA module inspection was requested. False distinguishes an unrequested payload from an inspected empty module list.

public bool HasSignature { get; } #

True when the VBA project has a signature relationship.

Fields

public const long DefaultMaximumProjectBytes #

Default maximum VBA project bytes materialized by metadata inspection.

Value: 67108864