Class ExportAs
- Namespace
- Qt
- Assembly
- Qt.Bridge.CSharp.Api.dll
Export mode values for ExportAttribute
public static class ExportAs
- Inheritance
-
ExportAs
- Inherited Members
Remarks
Qt Bridge can expose a managed type to QML using different export modes. These values are intended for use with Options:
- Metadata selects metadata-based export, where the type is described through metadata consumed by the bridge at runtime.
- SourceCode selects wrapper-based export, where the bridge prepares code for that type.
- When Default is explicitly set, it selects the built-in source-export default instead of using an assembly, global, or project default.
Fields
Default
Use the built-in default export mode
public const Options Default = Default
Field Value
Remarks
When set explicitly, this resets export behavior to Qt Bridge's built-in source-export default. It does not use an applicable assembly, global, or project default.
Metadata
Export the type as metadata
public const Options Metadata = Export
Field Value
SourceCode
Export the type through generated bridge wrapper code
public const Options SourceCode = Export | ExportAsSourceCode