AccessApplicationObject
OfficeIMO.Access
Inert native form, report or action-macro definition. Unknown properties and designer bytes remain preserve-only.
Inheritance
- AccessNamedObject
- AccessApplicationObject
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
- Property AccessDocument.Forms
- Property AccessDocument.Macros
- Property AccessDocument.Reports
Methods
public void SetCodeBehind(string source, OfficeVbaWriteOptions? options = null, CancellationToken cancellationToken = default) #Creates or replaces code-behind for this existing native form or report. Call Save to persist it.
Parameters
- source string
- options OfficeIMO.OfficeVbaWriteOptions? = null
- cancellationToken System.Threading.CancellationToken = default
public void SetEventBinding(AccessEventKind eventKind, string? expression, string? controlName = null, OfficeVbaWriteOptions? options = null, CancellationToken cancellationToken = default) #Sets or clears an inert event binding on this existing native form, report or named control.
Parameters
- eventKind OfficeIMO.Access.AccessEventKind
- expression string?
- controlName string? = null
- options OfficeIMO.OfficeVbaWriteOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Inherited Methods
Properties
public AccessCatalogEntry CatalogEntry { get; } #Native catalog provenance, including flags and exact catalog row.
public string? StoragePath { get; } #Qualified application storage path; null means the catalog object has no qualified carrier mapping.
public AccessDesignerNode? Definition { get; internal set; } #Qualified designer property tree; null means the definition remains opaque.
public AccessActionMacroInfo? ActionMacro { get; internal set; } #Qualified action-macro definition; null means the action representation remains preserve-only.
public IReadOnlyList<AccessStorageStream> Streams { get; internal set; } #Object payloads including base, delta, type and unknown streams, without evaluating active content.
Inherited Properties
public IReadOnlyList<AccessDiagnostic> Diagnostics { get; internal set; } #